-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 @@
+diff -ruN madwifi-ng-r1486-20060329/ath/if_ath.c madwifi-ng-r1486-20060329-patch/ath/if_ath.c
+--- madwifi-ng-r1486-20060329/ath/if_ath.c 2006-03-23 15:12:18.000000000 -0500
++++ madwifi-ng-r1486-20060329-patch/ath/if_ath.c 2006-03-31 11:00:30.000000000 -0500
+@@ -388,7 +388,7 @@
struct ath_hal *ah;
HAL_STATUS status;
- int error = 0,i;
+ int error = 0, i;
- int autocreatemode = IEEE80211_M_STA;
+ int autocreatemode = IEEE80211_M_HOSTAP;
u_int8_t csz;
- sc->sc_debug = ath_debug;
+ sc->devid = devid;