ath5k: clean up queue manipulation
authorBob Copeland <me@bobcopeland.com>
Thu, 8 Apr 2010 03:55:57 +0000 (23:55 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Apr 2010 19:24:15 +0000 (15:24 -0400)
commit6b5d117eddc09cd976ad8030d715f4350f598a22
tree363e2f43aeb4d6764c74eb24bc6f9fce765c3aab
parent1968cc78d91c79857089713bf3f3cceb5e9c63ae
ath5k: clean up queue manipulation

Review spotted a couple of strange invocations to
ieee80211_wake_queues that could potentially cause problems:

 - queues are awakened in the calibration tasklet before
   phy calibration, and then again after calibration

 - queues are awakened inside reset when we're trying to
   drain the ath5k transmit queues, and again after
   reset is completed (in callers to ath5k_reset_wake).

In both cases the first wake is unnecessary, so remove it.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c