make kernel module packaging code reusable and use it in madwifi

SVN-Revision: 5189
This commit is contained in:
Felix Fietkau
2006-10-17 16:13:10 +00:00
parent 92ced53400
commit 547b127d7a
5 changed files with 104 additions and 99 deletions

View File

@@ -0,0 +1,12 @@
diff -urN madwifi-0.9.2.old/ath/if_ath.c madwifi-0.9.2.dev/ath/if_ath.c
--- madwifi-0.9.2.old/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200
+++ madwifi-0.9.2.dev/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200
@@ -387,7 +387,7 @@
struct ath_hal *ah;
HAL_STATUS status;
int error = 0, i;
- int autocreatemode = IEEE80211_M_STA;
+ int autocreatemode = -1;
u_int8_t csz;
sc->devid = devid;