Make sure we will have lower case MAC addresses when doing WDS
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Aug 2008 10:00:49 +0000 (10:00 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Aug 2008 10:00:49 +0000 (10:00 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12259 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/broadcom-wl/files/lib/wifi/broadcom.sh

index d7d18db..e236a06 100644 (file)
@@ -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
This page took 0.025088 seconds and 4 git commands to generate.