Ignore:
Timestamp:
2010-06-30T23:24:30+02:00 (6 years ago)
Author:
jow
Message:

[package] hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11na

File:
1 edited

Legend:

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

    r21998 r22000  
    77        config_get wpa_group_rekey "$vif" wpa_group_rekey 
    88        config_get_bool ap_isolate "$vif" isolate 0 
     9 
     10        config_get device "$vif" device 
     11        config_get hwmode "$device" hwmode 
    912 
    1013        if [ "$ap_isolate" -gt 0 ]; then 
     
    4245                *aes|*ccmp) crypto="CCMP";; 
    4346                *tkip) crypto="TKIP";; 
     47        esac 
     48 
     49        # enforce CCMP for 11ng and 11na 
     50        case "$hwmode" in 
     51                *ng|*na) crypto="CCMP";; 
    4452        esac 
    4553 
Note: See TracChangeset for help on using the changeset viewer.