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
master
Florian Fainelli 2008-08-09 10:00:49 +00:00
parent 34cd55fae3
commit 7728ef4e29
1 changed files with 4 additions and 1 deletions

View 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