ath9k: fix AR_SREV_9100_OR_LATER macro
authorGabor Juhos <juhosg@openwrt.org>
Fri, 6 Mar 2009 08:08:53 +0000 (09:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:32 +0000 (18:09 -0400)
commit6b765deb01dd076e64a4b01d2101d74206e7df84
treeeb9069c2982de78d040331ab134bf45ace94f98a
parentd4376ebe168024695f15bfdf603ea6f083dc80f8
ath9k: fix AR_SREV_9100_OR_LATER macro

The current macro is wrong, because detects some AR5416 devices as an
AR9100 device. The AR5416 devices would have performance issues after
this change, because the contents of the ar5416 specific and of the
ar9100 specificinitval arrays are swapped. Fortunately we can correct
this with the rename of the arrays simply.

Changes-licesed-under: ISC

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/initvals.h
drivers/net/wireless/ath9k/reg.h