ath9k_hw: simplify channel flags
authorFelix Fietkau <nbd@openwrt.org>
Fri, 11 Oct 2013 21:30:56 +0000 (23:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Oct 2013 17:39:58 +0000 (13:39 -0400)
commit6b21fd2027f8deb6fb7d3283b4c2eacabc8eeb95
treec585fc28083ef4d8737f17febcaf79cc9e64f485
parent81c507a8b09fe00a1b4a2e7e84ba7234b126c332
ath9k_hw: simplify channel flags

There was some duplication between channelFlags and chanmode, as well as
a lot of redundant checks based on the combinations of flags.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/calib.c
drivers/net/wireless/ath/ath9k/common.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h