]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/net/wireless/ath/ath9k/mac.c
ath9k_hw: remove pCap->total_queues
authorFelix Fietkau <nbd@openwrt.org>
Wed, 23 Mar 2011 19:57:28 +0000 (20:57 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:20 +0000 (14:15 -0400)
commitf4c607dc53ece4ac15afed163292425efa060775
treeb470ccace15677ea0e86c8b530eb2e9945240548
parenta9b6b2569cf107fe541381e82faa0a3c47a9a7fd
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>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/mac.c