aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/104-autocreate_none.patch
blob: b2181b68e24875c6b3a2574fafde76cb7c3c9881 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -516,7 +516,7 @@ ath_attach(u_int16_t devid, struct net_d
 	HAL_STATUS status;
 	int error = 0;
 	unsigned int i;
-	int autocreatemode = IEEE80211_M_STA;
+	int autocreatemode = -1;
 	u_int8_t csz;
 
 	sc->devid = devid;