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
This commit is contained in:

committed by
snandini

parent
e99d6683f7
commit
be23decc06
@@ -298,6 +298,7 @@ int init_deinit_service_ext_ready_event_handler(ol_scn_t scn_handle,
|
|||||||
if (err_code)
|
if (err_code)
|
||||||
goto free_param_and_exit;
|
goto free_param_and_exit;
|
||||||
|
|
||||||
|
psoc->total_mac_phy = 0;
|
||||||
err_code = populate_hw_mode_capability(wmi_handle,
|
err_code = populate_hw_mode_capability(wmi_handle,
|
||||||
event,
|
event,
|
||||||
&psoc->total_mac_phy,
|
&psoc->total_mac_phy,
|
||||||
|
Reference in New Issue
Block a user