diff options
author | Andreas Fenkart <[andreas.fenkart@streamunlimited.com]> | 2013-04-19 01:34:12 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-23 21:18:40 +0200 |
commit | b006ed545cbadf1ebd4683719554742d20dbcede (patch) | |
tree | 4469dfebe8b2ed700175ecba692a03ab581cf548 /net/nfc/llcp.h | |
parent | mwifiex: replace ra_list_curr by list rotation. (diff) | |
download | linux-b006ed545cbadf1ebd4683719554742d20dbcede.tar.xz linux-b006ed545cbadf1ebd4683719554742d20dbcede.zip |
mwifiex: rework round robin scheduling of bss nodes.
Rotate bss prio list, so the bss next to the one served, will come first
in the list of bss' with equal priority. This way we pick bss nodes in a
round robin fashion. Using list rotation instead of a cur ptr simplifies
iteration to calling list_for_each_entry. List rotation is done via
list_move, where the head itself is temporarily removed and then
re-inserted after the bss just served.
Signed-off-by: Andreas Fenkart <andreas.fenkart@streamunlimited.com>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/llcp.h')
0 files changed, 0 insertions, 0 deletions