]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9df98a4012d1cd48fe7f1f3553579c47cfc5f214
treec585fc28083ef4d8737f17febcaf79cc9e64f485
parent74c0de13568e43cab04d05c7fcbdb783000cc475
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