summaryrefslogtreecommitdiff
path: root/package/broadcom-wl
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-08-09 10:00:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-08-09 10:00:49 +0000
commitd7c8f38007061b0c984785ee3a45ab0ca0da9915 (patch)
tree04537888b5f1a36724f65eaf6999569720bb1835 /package/broadcom-wl
parenta53aa71c83e3dd48d0a19986d423d7ea98906924 (diff)
downloadmtk-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')
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh5
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