Hi Andi, Thanks for the patch. > After a packet is successfully transmitted, ra list is rotated, so the ra > next to the one transmitted, will be the first in the list. This way we > pick the ra' in a round robin fashion. This significantly simplifies > iteration in mwifiex_wmm_get_highest_priolist_ptr to a call to > list_for_each_entry. > List rotation is done via list_move, where the head itself is temporarily > removed and then re-inserted after the item just transferred. > > Signed-off-by: Andreas Fenkart <andreas.fenkart@xxxxxxxxxxxxxxxxxxx> Acked-by: Bing Zhao <bzhao@xxxxxxxxxxx> Thanks, Bing > --- > drivers/net/wireless/mwifiex/11n_aggr.c | 8 +-- > drivers/net/wireless/mwifiex/main.h | 1 - > drivers/net/wireless/mwifiex/wmm.c | 97 ++++++++++++------------------- > drivers/net/wireless/mwifiex/wmm.h | 3 + > 4 files changed, 40 insertions(+), 69 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