From 9893aa395ce99ce01795ec86e4005271d8942dc9 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 29 Aug 2015 17:38:15 +0000 Subject: [PATCH] broadcom-wl: fix bash comparison error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes #17495 Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Hauke Mehrtens SVN-Revision: 46746 --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1