mwifiex: CPU mips optimization with NO_PKT_PRIO_TID
authorMarc Yang <yangyang@marvell.com>
Tue, 17 May 2011 02:17:52 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 May 2011 17:53:57 +0000 (13:53 -0400)
commit17e8cec87586c26b953c6541c8a045e906ea046c
treeabdb7b38d69370d7a326ef6f6d0f0e5afaf8c7dc
parent93968147874508e6dd534af1e236a7353269da3f
mwifiex: CPU mips optimization with NO_PKT_PRIO_TID

If we go through the entire for loop in
mwifiex_wmm_get_highest_priolist_ptr() and don't find any packets,
set highest_queued_prio to NO_PKT_PRIO_TID (< LOW_PRIO_TID).

Signed-off-by: Marc Yang <yangyang@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/wmm.c