wpa_supplicant: fix regressions introduced by the ibss-rsn changes
[openwrt.git] / package / mac80211 / patches / 410-ath9k_allow_adhoc_and_ap.patch
index 09522cda6ed898343c8e15ad78f17724ed96c1f1..0962406bcd285e3d8f451af889edff0cdd566686 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath9k/main.c
 +++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1458,15 +1458,6 @@ static int ath9k_add_interface(struct ie
+@@ -1432,15 +1432,6 @@ static int ath9k_add_interface(struct ie
                }
        }
  
 -              goto out;
 -      }
 -
-       ath_dbg(common, ATH_DBG_CONFIG,
-               "Attach a VIF of type: %d\n", vif->type);
+       ath_dbg(common, CONFIG, "Attach a VIF of type: %d\n", vif->type);
  
-@@ -1492,15 +1483,6 @@ static int ath9k_change_interface(struct
+       sc->nvifs++;
+@@ -1465,15 +1456,6 @@ static int ath9k_change_interface(struct
        mutex_lock(&sc->mutex);
        ath9k_ps_wakeup(sc);