BigW Consortium Gitlab

Commit c66abe62 by hauke

CC: broadcom-wl: fix bash comparison error

Backport of r46746 This fixes #17495 Signed-off-by: 's avatarÁlvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: 's avatarHauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46748 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent c4e9c1f7
......@@ -218,7 +218,7 @@ enable_broadcom() {
}
local leddc=$(wlc ifname "$device" leddc)
[ "$leddc" -eq 0xffff ] || {
[ $((leddc)) -eq $((0xffff)) ] && {
leddc=0x005a000a;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment