Changeset 20106


Ignore:
Timestamp:
2010-03-09T22:23:14+01:00 (8 years ago)
Author:
nbd
Message:

mac80211: fix interface setup for wds client
sometimes an interface does not get added to the bridge properly
this seems to be a race of interface setup vs wpa_supplicant
fix this by configuring the interface only after wpa_supplicant has been started

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/files/lib/wifi/mac80211.sh

    r20089 r20106  
    354354 
    355355                if [ ! "$mode" = "ap" ]; then 
    356                         mac80211_start_vif "$vif" "$ifname" 
    357  
     356                        ifconfig "$ifname" up 
    358357                        case "$mode" in 
    359358                                adhoc) 
     
    373372                                ;; 
    374373                        esac 
     374                        mac80211_start_vif "$vif" "$ifname" 
    375375                fi 
    376376        done 
Note: See TracChangeset for help on using the changeset viewer.