From: Florian Fainelli Date: Sat, 9 Aug 2008 10:00:49 +0000 (+0000) Subject: Make sure we will have lower case MAC addresses when doing WDS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d7c8f38007061b0c984785ee3a45ab0ca0da9915;p=openwrt%2Fstaging%2Flynxis%2Fomap.git Make sure we will have lower case MAC addresses when doing WDS SVN-Revision: 12259 --- 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