qcacld-3.0: Add check for wlan_suspended in __hdd_tx_timeout

When scheduler thread is suspended, it will not process
any messages until it is resumed. If messages are posted
to scheduler thread when it is suspended, it will lead
to KP due to scheduler buffer becoming full.

Add check for hdd_ctx->hdd_wlan_suspended in __hdd_tx_timeout
before posting any message to scheduler.

Change-Id: Ic0bc6ec0dda23e2a6eaf59adb21f0bca5f2707df
CRs-Fixed: 2428339
1 file changed