summaryrefslogtreecommitdiff
path: root/package/kernel/broadcom-wl
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/broadcom-wl')
-rw-r--r--package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
index df5072c..c5c0ede 100644
--- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -208,10 +208,10 @@ enable_broadcom() {
esac
}
- local leddc = $(wlc ifname "$device" leddc)
- if [ "$leddc" -eq 0xffff ]; then
- leddc = 0x0;
- fi
+ local leddc=$(wlc ifname "$device" leddc)
+ [ "$leddc" -eq 0xffff ] || {
+ leddc=0x005a000a;
+ }
local _c=0
local nas="$(which nas)"