ath9k: make npending frames check as bool
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Fri, 13 May 2011 15:29:42 +0000 (20:59 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 May 2011 18:10:48 +0000 (14:10 -0400)
commit108697c44b8e50bea3505c6bf9667da4627cb2d5
treeb98016826c33e5a2cc5950bccc8f84f223fb0bc9
parent21e8ee6d207f6d384689571101436eb9070c22ca
ath9k: make npending frames check as bool

we are not doing anything by tracking the number of pending frames.
bail out when we first find a pending frame in any one of the 10 queues.

Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c