diff options
author | Manuel Munz <freifunk@somakoma.de> | 2013-01-03 14:10:18 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2013-01-03 14:10:18 +0000 |
commit | 5223eea7c42b43cc0d73872145adb8392509c2e9 (patch) | |
tree | d0fffe489af77d24cd2f6f0e21e708b55fe3a91c /contrib | |
parent | 92f100486d8ff60cce752203e03ff6223e147d13 (diff) |
contrib/meshwizard: make gen_bssid create BSSIDs that are valid according to the 80211 standard. This also makes it possible to merge the general BSSID scheme with the pberg bssid scheme. Thanks stargieg.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh index 8c9155e5e..efe101fad 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/gen_bssid.sh @@ -24,10 +24,10 @@ if [ -z "$bssid" ]; then bssid="$(printf "%X\n" $channel)2:CA:FF:EE:BA:BE" ;; [3-9][0-9]) - bssid="00:$channel:CA:FF:EE:EE" + bssid="02:$channel:CA:FF:EE:EE" ;; 1[0-9][0-9]) - bssid="${channel/1/01:}:CA:FF:EE:EE" + bssid="${channel/1/12:}:CA:FF:EE:EE" ;; *) bssid="02:CA:FF:EE:BA:BE" ;; |