wlan: Fix for watchdog timer bark issue.
Sometimes when traffic is running and we turn OFF
WiFi, netif_tx_disable is called from hdd_disConnectHandler
notifying the apps that we can't pass the traffic down
any more and deregister STA from TL by invoking
hdd_roamDeregisterSTA. Though the TX is disabled sometimes
hdd_hard_start_xmit is getting invoked and calls the
WLANTL_STAPktPending on unregistered station id, in this
case excessive logging causes watchdog timer bark.
To mitigate this issue, in hdd_hard_start_xmit add a condition
to check whether TX queue is stopped. If the queue is stopped
return NETDEV_TX_BUSY.
Change-Id: I5e24d5ea939a4eaa8157bad16c4d5149a5aed4ee
CRs-Fixed: 456214
1 file changed