• A
    mwifiex: update adapter->bss_prio_tbl[j].bss_prio_cur correctly · 16051b0e
    Amitkumar Karwar 提交于
    "adapter->bss_prio_tbl[j].bss_prio_head" points to linked list of
    interfaces with priority 'j'. "bss_prio_tbl[j].bss_prio_cur" is
    supposed to point to next interface every time the routine for
    dequeuing the packet is called. This ensures that each interface
    gets fair chance.
    
    Currently we have AP and station interfaces with priority '0'.
    Therefore "adapter->bss_prio_tbl[0].bss_prio_cur" should
    alternately point to AP and station nodes. Since "bss_prio_cur"
    is not correctly updated, for each packet picked for AP, two
    packets are picked for station interface.
    
    This patch fixes the problem by correctly updating "bss_prio_cur".
    Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
    Signed-off-by: NBing Zhao <bzhao@marvell.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    16051b0e
wmm.c 35.5 KB