diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-11 23:30:54 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-14 13:39:58 -0400 |
commit | 1a5e63265f6dbd616596325d899332ddc506e83e (patch) | |
tree | 4eaf70839662595abc190ca1aef08f002fa04ed0 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 8896934c168474079ba1e81cf3f0c4a975b30406 (diff) | |
download | blackbird-op-linux-1a5e63265f6dbd616596325d899332ddc506e83e.tar.gz blackbird-op-linux-1a5e63265f6dbd616596325d899332ddc506e83e.zip |
ath9k_hw: remove IS_CHAN_B()
Hardware 802.11b-only mode isn't supported by the driver (the device is
configured for 802.11n/g instead). Simplify the code by removing checks
for it.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 102b3b6571f3..eaaf98ba2509 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -455,7 +455,6 @@ struct ath9k_channel { ((_ah)->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK)) /* These macros check chanmode and not channelFlags */ -#define IS_CHAN_B(_c) ((_c)->chanmode == CHANNEL_B) #define IS_CHAN_HT20(_c) (((_c)->chanmode == CHANNEL_A_HT20) || \ ((_c)->chanmode == CHANNEL_G_HT20)) #define IS_CHAN_HT40(_c) (((_c)->chanmode == CHANNEL_A_HT40PLUS) || \ |