]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/ath6kl/cfg80211.c
ath6kl: Fix AP mode operation after interface down/up
[karo-tx-linux.git] / drivers / net / wireless / ath / ath6kl / cfg80211.c
index d6d02ec89cc772bda1f9d584e1309de8c5987c32..b71d7a4a919a3ec11a28995147bba184235c930f 100644 (file)
@@ -1352,9 +1352,6 @@ static int ath6kl_cfg80211_change_iface(struct wiphy *wiphy,
 
        ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: type %u\n", __func__, type);
 
-       if (!ath6kl_cfg80211_ready(vif))
-               return -EIO;
-
        switch (type) {
        case NL80211_IFTYPE_STATION:
                vif->next_mode = INFRA_NETWORK;