diff options
Diffstat (limited to 'package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh')
-rw-r--r-- | package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh index ba31518..df5072c 100644 --- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh @@ -120,6 +120,7 @@ disable_broadcom() { wlc ifname "$device" stdin <<EOF $ifdown +leddc 0xffff EOF ) true @@ -207,6 +208,11 @@ enable_broadcom() { esac } + local leddc = $(wlc ifname "$device" leddc) + if [ "$leddc" -eq 0xffff ]; then + leddc = 0x0; + fi + local _c=0 local nas="$(which nas)" local if_pre_up if_up nas_cmd @@ -384,6 +390,7 @@ band ${band:-0} ${nmode:+nmode $nmode} ${nmode:+${nreqd:+nreqd $nreqd}} ${gmode:+gmode $gmode} +leddc $leddc apsta $apsta ap $ap ${mssid:+mssid $mssid} |