Changeset 20363


Ignore:
Timestamp:
2010-03-21T23:35:58+01:00 (8 years ago)
Author:
jow
Message:

[package] hostapd: always strip "11" from hwmode value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostapd/files/hostapd.sh

    r19720 r20363  
    120120        config_get hwmode "$device" hwmode 
    121121        case "$hwmode" in 
    122                 bg) hwmode=g;; 
     122                *bg) hwmode=g;; 
    123123        esac 
    124124        [ "$channel" = auto ] && channel= 
     
    128128driver=$driver 
    129129interface=$ifname 
    130 ${hwmode:+hw_mode=$hwmode} 
     130${hwmode:+hw_mode=${hwmode#11}} 
    131131${channel:+channel=$channel} 
    132132$hostapd_cfg 
Note: See TracChangeset for help on using the changeset viewer.