Changeset 41519


Ignore:
Timestamp:
2014-07-06T01:24:41+02:00 (4 years ago)
Author:
hauke
Message:

broadcom-wl: improve setting leddc

Use leddc value from other routers and improve the script.

Signed-off-by: Hauke Mehrtens <hauke@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh

    r41518 r41519  
    209209        } 
    210210 
    211         local leddc = $(wlc ifname "$device" leddc) 
    212         if [ "$leddc" -eq 0xffff ]; then 
    213                 leddc = 0x0; 
    214         fi 
     211        local leddc=$(wlc ifname "$device" leddc) 
     212        [ "$leddc" -eq 0xffff ] || { 
     213                leddc=0x005a000a; 
     214        } 
    215215 
    216216        local _c=0 
Note: See TracChangeset for help on using the changeset viewer.