mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Take wakelock only in authenticated state for rx packet processing
Take wake_lock for rx packet processing in hdd_rx_packet_cbk only in authenticated state to avoid taking lock for sta cached_bufq for which the wake_lock is acquired for all packets one by one till entire flush duration. Change-Id: Ia69381a7406a5a475ed07f73f3ea0edf4b3715be CRs-Fixed: 2081963
This commit is contained in:
parent
d17af14c63
commit
05febac9b1
1 changed files with 2 additions and 1 deletions
|
|
@ -1243,7 +1243,8 @@ QDF_STATUS hdd_rx_packet_cbk(void *context, qdf_nbuf_t rxBuf)
|
|||
}
|
||||
|
||||
/* hold configurable wakelock for unicast traffic */
|
||||
if (pHddCtx->config->rx_wakelock_timeout)
|
||||
if (pHddCtx->config->rx_wakelock_timeout &&
|
||||
pHddStaCtx->conn_info.uIsAuthenticated)
|
||||
wake_lock = hdd_is_rx_wake_lock_needed(skb);
|
||||
|
||||
if (wake_lock) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue