qcacmn: Avoid reset of reg rules in soc private object
In the current implementation, reg rules stored in mas_chan_params of soc for each phy id are reset in regulatory_pdev_obj_created_notification() and in regulatory_psoc_close(). In WLAN restart sequence, regulatory_psoc_close() is invoked and processing of WMI_REG_CHAN_LIST_CC_EVENTID is ignored, if the country code matches with existing country code in soc reg private object. Since reg_rules in mas_chan_params of soc are reset there are no reg_rules for pdev resulting in no indication (regulatory_set_wiphy_regd()) to cfg80211. To fix this, avoid reset of psoc reg rules. Change-Id: I14973217319ffa84b979f0c92cb5405708a96d2f CRs-Fixed: 2402007
Loading
Please register or sign in to comment