qcacld-3.0: Flush the wmi_rx_work_queue when the ready event fails

If the ready event times out the waiting thread in the error condition
starts closing the modules but in the other
thread the wmi_rx_work_queue could be executing trying to access the
data which being freed in the other thread.

Flush the wmi_rx_work_queue when the ready event times out.

Change-Id: I7d91b3fa5f3468c607ce3669eabf7d2e3789774d
CRs-Fixed: 2524305
1 file changed