From 95ada99a76f49831221ca2f645485a41bd5d1a94 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 28 Jun 2007 00:01:11 +0000 Subject: [PATCH] clean up the madwifi SoC support patch - remove some breakage that went unnoticed because it only applies to kernelversions before 2.6.19 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7746 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/120-soc_fix.patch | 24 +---------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/package/madwifi/patches/120-soc_fix.patch b/package/madwifi/patches/120-soc_fix.patch index 067dbfbb1..fd3a20079 100644 --- a/package/madwifi/patches/120-soc_fix.patch +++ b/package/madwifi/patches/120-soc_fix.patch @@ -43,26 +43,4 @@ 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: + -- 2.35.1