• Ganapathi Bhat's avatar
    mwifiex: restructure rx_reorder_tbl_lock usage · 5188d545
    Ganapathi Bhat authored
    Driver must ensure that whenever it holds a pointer to the list
    entry mwifiex_rx_reorder_tbl, it must protect the same with
    rx_reorder_tbl_lock. At present there are many places where
    driver does not ensure this. To cover all cases, spinlocks in
    below funcions are moved out and made sure that the caller will
    hold the spinlock:
    mwifiex_11n_dispatch_pkt_until_start_win()
    mwifiex_11n_scan_and_dispatch()
    mwifiex_del_rx_reorder_entry()
    mwifiex_11n_get_rx_reorder_tbl()
    mwifiex_11n_find_last_seq_num()
    Signed-off-by: default avatarGanapathi Bhat <gbhat@marvell.com>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    5188d545
11n_rxreorder.c 28.4 KB