aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
parenta53aa71c83e3dd48d0a19986d423d7ea98906924 (diff)
downloadupstream-d7c8f38007061b0c984785ee3a45ab0ca0da9915.tar.gz
upstream-d7c8f38007061b0c984785ee3a45ab0ca0da9915.tar.bz2
upstream-d7c8f38007061b0c984785ee3a45ab0ca0da9915.zip
Make sure we will have lower case MAC addresses when doing WDS
SVN-Revision: 12259
Diffstat (limited to 'package')
-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