1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 03:29:48 +03:00

fix linux 2.4 compile with latest ibss fixes (thx, sven-ola)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12841 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-10-03 17:25:07 +00:00
parent 93f00c0eb5
commit b7ba52b1eb

View File

@ -37,7 +37,7 @@
+ struct ath_hal *ah = sc->sc_ah; + struct ath_hal *ah = sc->sc_ah;
+ int dev = sc->sc_ah->ah_macType; + int dev = sc->sc_ah->ah_macType;
+ unsigned int nbtt, atim; + unsigned int nbtt, atim;
+ bool is_5210 = false; + bool is_5210 = 0;
+ +
+ /* + /*
+ * check if the ATIM window is still correct: + * check if the ATIM window is still correct:
@ -50,7 +50,7 @@
+ case 5210: + case 5210:
+ nbtt = OS_REG_READ(ah, AR5K_TIMER0_5210); + nbtt = OS_REG_READ(ah, AR5K_TIMER0_5210);
+ atim = OS_REG_READ(ah, AR5K_TIMER3_5210); + atim = OS_REG_READ(ah, AR5K_TIMER3_5210);
+ is_5210 = true; + is_5210 = 1;
+ break; + break;
+ case 5211: + case 5211:
+ case 5212: + case 5212: