Skip to content

Commit 7ab44cc

Browse files
committed
change version 2.5-WiFiChallengeLab-version
1 parent c698fd9 commit 7ab44cc

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

APs/mac80211_hwsim/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ STOCK_MODNAME="mac80211_hwsim"
1919
AUTO_INSTALL_DEPS="${AUTO_INSTALL_DEPS:-0}"
2020
HOST_USR_LIB_MOUNT="${HOST_USR_LIB_MOUNT:-/host_usr_lib}"
2121
# Version stamped into the patched module by patch80211.sh (single source of truth).
22-
TARGET_VERSION="2.4.1-WiFiChallengeLab-version"
22+
TARGET_VERSION="2.5-WiFiChallengeLab-version"
2323
# ----------------------------------------------------------------------
2424

2525
### ---- Fast path: already installed? -------------------------------
@@ -185,7 +185,7 @@ fi
185185

186186
PATCH_SAE_AUTH_THRESHOLD=4 PATCH_DETECT_WINDOWS=2 bash dragondrain.sh --simulate-dos
187187

188-
TARGET_VERSION_ERROR="2.4.1-WiFiChallengeLab-version"
188+
TARGET_VERSION_ERROR="2.5-WiFiChallengeLab-version"
189189
TARGET_VERSION=$(grep -oP 'MODULE_VERSION\("([^"]+)"\)' mac80211_hwsim.c | grep -oP '(?<=")[^"]+(?=")' || echo $TARGET_VERSION_ERROR)
190190

191191
### ---- Compile and install

APs/mac80211_hwsim/patch80211.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ CFILE="${DEST}/mac80211_hwsim.c"
5353

5454
# MODULE_VERSION
5555
if ! grep -q 'WiFiChallengeLab-version' "$CFILE"; then
56-
perl -0777 -i -pe 's/MODULE_LICENSE\("GPL"\);\n/MODULE_LICENSE("GPL");\nMODULE_VERSION("2.4.1-WiFiChallengeLab-version");\n/s' "$CFILE"
56+
perl -0777 -i -pe 's/MODULE_LICENSE\("GPL"\);\n/MODULE_LICENSE("GPL");\nMODULE_VERSION("2.5-WiFiChallengeLab-version");\n/s' "$CFILE"
5757
echo " • MODULE_VERSION added"
5858
else
5959
echo " • MODULE_VERSION already present"

APs/mac80211_hwsim/uninstall.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
ALT_MODNAME="mac80211_hwsim_WiFiChallenge"
55
STOCK_MODNAME="mac80211_hwsim"
6-
TARGET_VERSION="2.4.1-WiFiChallengeLab-version"
6+
TARGET_VERSION="2.5-WiFiChallengeLab-version"
77

88
REMOVE_ANY_VERSION=0
99

@@ -13,7 +13,7 @@ Usage:
1313
sudo bash uninstall.sh [--remove-any-version]
1414
1515
Options:
16-
--remove-any-version Remove the custom module file even if version != 2.4.1
16+
--remove-any-version Remove the custom module file even if version != 2.5
1717
-h, --help Show this help
1818
EOF
1919
}

0 commit comments

Comments
 (0)