]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ath9k: Fix pending frame check
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 2 Oct 2014 01:03:14 +0000 (06:33 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Oct 2014 18:26:31 +0000 (14:26 -0400)
commitfc1314c75e0558c03cb434e2af2c257caa201e76
tree0042d039533723845ea6f33775df77d1126959ba
parentb736728575af03488388e84fceac7bf0eac5dbb6
ath9k: Fix pending frame check

Checking for the queue depth outside of
the TX queue lock is incorrect and in this
case, is not required since it is done inside
ath9k_has_pending_frames().

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c