CC: broadcom-wl: fix bash comparison error

Backport of r46746

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/branches/chaos_calmer@46748 3c298f89-4303-0410-b956-a3cf2f4a3e73
zsun
hauke 2015-08-29 17:40:11 +00:00
parent c4e9c1f798
commit c66abe62ff
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ enable_broadcom() {
}
local leddc=$(wlc ifname "$device" leddc)
[ "$leddc" -eq 0xffff ] || {
[ $((leddc)) -eq $((0xffff)) ] && {
leddc=0x005a000a;
}