diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-08-09 10:00:49 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-08-09 10:00:49 +0000 |
commit | d7c8f38007061b0c984785ee3a45ab0ca0da9915 (patch) | |
tree | 04537888b5f1a36724f65eaf6999569720bb1835 /package/broadcom-wl/files/lib/wifi/broadcom.sh | |
parent | a53aa71c83e3dd48d0a19986d423d7ea98906924 (diff) | |
download | mtk-20170518-d7c8f38007061b0c984785ee3a45ab0ca0da9915.zip mtk-20170518-d7c8f38007061b0c984785ee3a45ab0ca0da9915.tar.gz mtk-20170518-d7c8f38007061b0c984785ee3a45ab0ca0da9915.tar.bz2 |
Make sure we will have lower case MAC addresses when doing WDS
SVN-Revision: 12259
Diffstat (limited to 'package/broadcom-wl/files/lib/wifi/broadcom.sh')
-rw-r--r-- | package/broadcom-wl/files/lib/wifi/broadcom.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index d7d18db..e236a06 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -24,7 +24,10 @@ scan_broadcom() { ;; wds) config_get addr "$vif" bssid - [ -z "$addr" ] || append wds "$addr" + [ -z "$addr" ] || { + addr=$(echo "$addr" | tr 'A-F' 'a-f') + append wds "$addr" + } ;; monitor) mon=1 |