ath9k_htc: Fix free slot value for cab queue
authorRajkumar Manoharan <rmanoharan@atheros.com>
Sat, 16 Apr 2011 08:47:39 +0000 (14:17 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:38:05 +0000 (15:38 -0400)
commitcea3235cf578b5e952f5a0cec9bc6c2e862eb697
tree7dc7730958333dba25cea5e6a12e73d97909d7a4
parent2be7859f41e9bcef5b15bd23d63e01536344e3df
ath9k_htc: Fix free slot value for cab queue

ath9k_htc_tx_get_slot can return zero as valid index.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Acked-by: Sujith Manoharan <Sujith.Manoharan@Atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_beacon.c