aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-23 20:57:28 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 14:15:20 -0400
commitf4c607dc53ece4ac15afed163292425efa060775 (patch)
treeb470ccace15677ea0e86c8b530eb2e9945240548 /drivers/net/wireless/ath/ath9k/hw.h
parenta9b6b2569cf107fe541381e82faa0a3c47a9a7fd (diff)
downloadkernel_samsung_smdk4412-f4c607dc53ece4ac15afed163292425efa060775.zip
kernel_samsung_smdk4412-f4c607dc53ece4ac15afed163292425efa060775.tar.gz
kernel_samsung_smdk4412-f4c607dc53ece4ac15afed163292425efa060775.tar.bz2
ath9k_hw: remove pCap->total_queues
The EEPROM contains a field that can restrict the number of hardware queues, however this is not only useless (all the known chips contain the same number of hardware queues), but also potentially dangerous in case of a misprogrammed EEPROM (could trigger driver crashes), so let's just ignore it completely. 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.h1
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 dafbe97..4e62ad8 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -191,7 +191,6 @@ enum ath9k_hw_caps {
struct ath9k_hw_capabilities {
u32 hw_caps; /* ATH9K_HW_CAP_* from ath9k_hw_caps */
- u16 total_queues;
u16 keycache_size;
u16 low_5ghz_chan, high_5ghz_chan;
u16 low_2ghz_chan, high_2ghz_chan;