mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Handle excessive logging during sta select queue
qcacld-2.0 to qcacld-3.0 propagation As a part of unload hdd is stopping the netdev queue. But still N/W layer 3 is calling the select queue netdev ops, where error print appears excessively. As a part of this fix sta select queue netdev ops need to validate Hdd context to take care of SSR and load / unload cases. Change-Id: I087f50ac9e59c3e181bde54f2041f9dda3177266 CRs-Fixed: 857429
This commit is contained in:
parent
f08b650d38
commit
f750df3828
1 changed files with 8 additions and 0 deletions
|
|
@ -1821,6 +1821,14 @@ uint16_t hdd_wmm_select_queue(struct net_device *dev, struct sk_buff *skb)
|
|||
uint16_t queueIndex;
|
||||
hdd_adapter_t *pAdapter = WLAN_HDD_GET_PRIV_PTR(dev);
|
||||
bool is_eapol = false;
|
||||
hdd_context_t *hdd_ctx = WLAN_HDD_GET_CTX(pAdapter);
|
||||
int status;
|
||||
|
||||
status = wlan_hdd_validate_context(hdd_ctx);
|
||||
if (status != 0) {
|
||||
skb->priority = SME_QOS_WMM_UP_BE;
|
||||
return HDD_LINUX_AC_BE;
|
||||
}
|
||||
|
||||
/* if we don't want QoS or the AP doesn't support Qos */
|
||||
/* All traffic will get equal opportuniy to transmit data frames. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue