Changeset 31087 for trunk


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

wpa_supplicant: fix regressions introduced by the ibss-rsn changes

File:
1 edited

Legend:

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

    r31085 r31087  
    44        local key="$key" 
    55        local options="$3" 
    6         local freq 
     6        local freq="" 
    77        [ -n "$4" ] && freq="frequency=$4" 
    88 
     
    2626        } 
    2727 
    28         local mode ifname wds 
     28        local mode ifname wds modestr="" 
    2929        config_get mode "$vif" mode 
    3030        config_get ifname "$vif" ifname 
     
    3434                return 1 
    3535        } 
     36        [ "$mode" = "adhoc" ] && modestr="mode=1" 
    3637 
    3738        case "$enc" in 
     
    127128ctrl_interface=/var/run/wpa_supplicant-$ifname 
    128129network={ 
    129         $mode 
     130        $modestr 
    130131        scan_ssid=1 
    131132        ssid="$ssid" 
Note: See TracChangeset for help on using the changeset viewer.