]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1aeff7c2569d7a63392311cd138d571c7d36a7ad
treeabdb7b38d69370d7a326ef6f6d0f0e5afaf8c7dc
parentf02d967bb3cc8e52f5c37493713610a015b990b4
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