qcacld-3.0: Add a check for driver status in wlansap_set_band_csa

with a new change I9b2b1ead3b4502022aeefc08359037457bb051f9 added for
to switch from 2.4g from 5g when an indication is received, During the
driver re-initliazation also this function is getting invoked and trying
access freed memory resulting in null pointer deference.

Donot process the function wlansap_set_band_csa when the driver is
recovering.

Change-Id: Iab67d5b77ffc98166bf421ff30bcf641e37fef6a
CRs-Fixed: 2587706
1 file changed