]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/iface.c
mac80211: remove mixed-cell and userspace MLME code
[linux-2.6-omap-h63xx.git] / net / mac80211 / iface.c
index 34f4798a98f79cc59a7f995065a64323a720d882..dd2a276fa8ca7d4444a5d4819f6f899607e7eff2 100644 (file)
@@ -261,8 +261,7 @@ static int ieee80211_open(struct net_device *dev)
                ieee80211_bss_info_change_notify(sdata, changed);
                ieee80211_enable_keys(sdata);
 
-               if (sdata->vif.type == NL80211_IFTYPE_STATION &&
-                   !(sdata->flags & IEEE80211_SDATA_USERSPACE_MLME))
+               if (sdata->vif.type == NL80211_IFTYPE_STATION)
                        netif_carrier_off(dev);
                else
                        netif_carrier_on(dev);