wlan: Avoid race condition in locking of tx queues per staId.
In function hdd_softap_tx_fetch_packet_cbk we take a lock on
wmm tx queues per sta id, but while we are in that lock, it is
possible that the lock of these queues are re initialized in
function hdd_softap_deinit_tx_rx_sta. Now to avoid this race
condition we take another spin lock on pAdapter->staInfo_lock
which is used in later function too. So this way the race will
be avoided and we can successfully unlock the tx queues.
Change-Id: I19b4ccb6489edb226bdcfb1acf4e50ba2302eac7
CRs-Fixed: 693908
1 file changed