qcacmn: Initialize mac_phy_count to zero before populating macphy params

mac_phy_count should be initialized to zero before populating machphy
params. Target stop/start framework skips attach/detach which means
mac_phy_count should be initialized explicitly.

Change-Id: I9fe537c3a7e375397982174f6a63599a961ba8d3
CRs-Fixed: 2065321
Este commit está contenido en:
Kiran Venkatappa
2017-06-22 14:39:00 +05:30
cometido por snandini
padre e99d6683f7
commit be23decc06

Ver fichero

@@ -298,6 +298,7 @@ int init_deinit_service_ext_ready_event_handler(ol_scn_t scn_handle,
if (err_code)
goto free_param_and_exit;
psoc->total_mac_phy = 0;
err_code = populate_hw_mode_capability(wmi_handle,
event,
&psoc->total_mac_phy,