1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 19:56:23 +03:00

patch madwifi-ng to use master mode by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3162 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz 2006-02-06 11:36:10 +00:00
parent 3422687063
commit 8fa786a781

View File

@ -0,0 +1,12 @@
diff -ur madwifi-ng-r1416-20060126/ath/if_ath.c madwifi-ng-r1416-20060126.openwrt/ath/if_ath.c
--- madwifi-ng-r1416-20060126/ath/if_ath.c 2006-01-23 08:07:51.000000000 +0100
+++ madwifi-ng-r1416-20060126.openwrt/ath/if_ath.c 2006-02-06 12:29:42.000000000 +0100
@@ -391,7 +391,7 @@
struct ath_hal *ah;
HAL_STATUS status;
int error = 0,i;
- int autocreatemode = IEEE80211_M_STA;
+ int autocreatemode = IEEE80211_M_HOSTAP;
u_int8_t csz;
sc->sc_debug = ath_debug;