ath9k: fix check for antenna diversity support
authorFelix Fietkau <nbd@openwrt.org>
Sun, 4 Dec 2011 07:38:54 +0000 (08:38 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Dec 2011 20:06:34 +0000 (15:06 -0500)
commit162d12de656bc76786ba5fad6dac7bd238de9657
tree0b8963626e162c65434c3e3f1a71955b6811df76
parentfacda29d75a30a8ff4f1f23a48a368d167563843
ath9k: fix check for antenna diversity support

fixes a regression on single-stream chips introduced in
commit 43c3528430bd29f5e52438cad7cf7c0c62bf4583
"ath9k: implement .get_antenna and .set_antenna"

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c