> 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@xxxxxxxxxxxxxxxxxxx> Acked-by: Bing Zhao <bzhao@xxxxxxxxxxx> Thanks, Bing > --- > drivers/net/wireless/mwifiex/11n_aggr.c | 6 --- > drivers/net/wireless/mwifiex/init.c | 21 +++----- > drivers/net/wireless/mwifiex/wmm.c | 79 +++++++++---------------------- > 3 files changed, 29 insertions(+), 77 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html