Before stop pre cac adapter, need call wlan_hdd_stop_sap to stop sap vdev first. Change-Id: I108a42932f2631d901e72569f2878d08026b3ea4 CRs-Fixed: 3441589
@@ -43,6 +43,7 @@ static void wlan_hdd_pre_cac_failure(struct hdd_adapter *adapter)
if (wlan_hdd_validate_context(hdd_ctx))
return;
+ wlan_hdd_stop_sap(adapter);
hdd_stop_adapter(hdd_ctx, adapter);
hdd_exit();