broadcom-wl: improve setting leddc
Use leddc value from other routers and improve the script. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41519
This commit is contained in:
parent
4ec8908669
commit
d6c7ab2358
@ -208,10 +208,10 @@ enable_broadcom() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
local leddc = $(wlc ifname "$device" leddc)
|
local leddc=$(wlc ifname "$device" leddc)
|
||||||
if [ "$leddc" -eq 0xffff ]; then
|
[ "$leddc" -eq 0xffff ] || {
|
||||||
leddc = 0x0;
|
leddc=0x005a000a;
|
||||||
fi
|
}
|
||||||
|
|
||||||
local _c=0
|
local _c=0
|
||||||
local nas="$(which nas)"
|
local nas="$(which nas)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user