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; }