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-a3cf2f4a3e73master
parent
94128f9d89
commit
e6ded4a534
|
@ -218,7 +218,7 @@ enable_broadcom() {
|
|||
}
|
||||
|
||||
local leddc=$(wlc ifname "$device" leddc)
|
||||
[ "$leddc" -eq 0xffff ] || {
|
||||
[ $((leddc)) -eq $((0xffff)) ] && {
|
||||
leddc=0x005a000a;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue