diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2015-08-29 17:38:15 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2015-08-29 17:38:15 +0000 |
commit | 7f342d1691676f5cde992989c8b41b90ac25e3a9 (patch) | |
tree | 458f8bcbdd5209bdfbaf710f0f2b33504dcc8bbe | |
parent | 6bffe18d7ae71796f98c1fd5e95b639612ae0e36 (diff) | |
download | master-187ad058-7f342d1691676f5cde992989c8b41b90ac25e3a9.tar.gz master-187ad058-7f342d1691676f5cde992989c8b41b90ac25e3a9.tar.bz2 master-187ad058-7f342d1691676f5cde992989c8b41b90ac25e3a9.zip |
broadcom-wl: fix bash comparison error
This fixes #17495
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46746 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh index 65179a5692..271fc45a62 100644 --- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh @@ -218,7 +218,7 @@ enable_broadcom() { } local leddc=$(wlc ifname "$device" leddc) - [ "$leddc" -eq 0xffff ] || { + [ $((leddc)) -eq $((0xffff)) ] && { leddc=0x005a000a; } |