Changeset 31085 for trunk


Ignore:
Timestamp:
2012-03-27T15:29:41+02:00 (4 years ago)
Author:
nbd
Message:

wpa_supplicant: modify wpa_supplicant.sh in order to support IBSS-RSN/WPA-NONE

Based on patch by: Antonio Quartulli <ordex@…>

File:
1 edited

Legend:

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

    r30504 r31085  
    44        local key="$key" 
    55        local options="$3" 
     6        local freq 
     7        [ -n "$4" ] && freq="frequency=$4" 
    68 
    79        # wpa_supplicant should use wext for mac80211 cards 
     
    6062                *psk*) 
    6163                        key_mgmt='WPA-PSK' 
     64                        [ "$mode" = "adhoc" -a "$driver" != "nl80211" ] && key_mgmt='WPA-NONE' 
    6265                        config_get_bool usepassphrase "$vif" usepassphrase 1 
    6366                        if [ "$usepassphrase" = "1" ]; then 
     
    124127ctrl_interface=/var/run/wpa_supplicant-$ifname 
    125128network={ 
     129        $mode 
    126130        scan_ssid=1 
    127131        ssid="$ssid" 
     
    129133        key_mgmt=$key_mgmt 
    130134        $proto 
     135        $freq 
    131136        $ieee80211w 
    132137        $passphrase 
Note: See TracChangeset for help on using the changeset viewer.