aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/files/lib/wifi
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
commit7728ef4e29e4c2ecfa4d79858b85ec8959872e9f (patch)
tree21e08d56bc45818bd2b694b5d81015579994bd08 /package/broadcom-wl/files/lib/wifi
parent34cd55fae3bb3424fbc75bfbd845a511d6a90d78 (diff)
downloadupstream-7728ef4e29e4c2ecfa4d79858b85ec8959872e9f.tar.gz
upstream-7728ef4e29e4c2ecfa4d79858b85ec8959872e9f.tar.bz2
upstream-7728ef4e29e4c2ecfa4d79858b85ec8959872e9f.zip
Make sure we will have lower case MAC addresses when doing WDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12259 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl/files/lib/wifi')
-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 d7d18dbd50..e236a06795 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