X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b5cb1795de1f0959de1e228bd2e784d1cea921a7..818503d2bd8b44bea3a986eff59628d10ba67a6f:/package/madwifi/patches/120-soc_fix.patch diff --git a/package/madwifi/patches/120-soc_fix.patch b/package/madwifi/patches/120-soc_fix.patch index 067dbfbb1..5aae795da 100644 --- a/package/madwifi/patches/120-soc_fix.patch +++ b/package/madwifi/patches/120-soc_fix.patch @@ -1,7 +1,7 @@ -Index: madwifi-ng-r2420-20070602/ath/if_ath_ahb.c +Index: madwifi-ng-r2525-20070630/ath/if_ath_ahb.c =================================================================== ---- madwifi-ng-r2420-20070602.orig/ath/if_ath_ahb.c 2007-06-04 13:21:53.320870664 +0200 -+++ madwifi-ng-r2420-20070602/ath/if_ath_ahb.c 2007-06-04 13:21:57.306264792 +0200 +--- madwifi-ng-r2525-20070630.orig/ath/if_ath_ahb.c 2007-07-03 23:02:25.509638000 +0200 ++++ madwifi-ng-r2525-20070630/ath/if_ath_ahb.c 2007-07-03 23:02:30.709963000 +0200 @@ -275,11 +275,10 @@ @@ -43,26 +43,3 @@ Index: madwifi-ng-r2420-20070602/ath/if_ath_ahb.c return 0; } -@@ -439,7 +441,7 @@ - (AR5315_REV_MAJ_M | AR5315_REV_MIN_M)); - if (((devid & AR5315_REV_MAJ_M) == AR5315_REV_MAJ) || - ((devid & AR5315_REV_MAJ_M) == AR5317_REV_MAJ)) -- return init_ath_wmac(devid, 0, &config); -+ return init_ath_wmac(devid, 0); - } - - devid = (u_int16_t) ((sysRegRead(AR531X_REV) >>8) & -@@ -452,11 +454,11 @@ - ar5312BspEepromRead(2 * AR531X_RADIO_MASK_OFF, 2, - (char *) &radioMask); - if ((radioMask & AR531X_RADIO0_MASK) != 0) -- if ((ret = init_ath_wmac(devid, 0, &config)) !=0 ) -+ if ((ret = init_ath_wmac(devid, 0)) !=0 ) - return ret; - /* XXX: Fall through?! */ - case AR5212_AR2313_REV8: -- if ((ret = init_ath_wmac(devid, 1, &config)) != 0) -+ if ((ret = init_ath_wmac(devid, 1)) != 0) - return ret; - break; - default: