drivers: wifi: nxp: add download countryinfo
When set 'wifi reg_domain' CMD, need to create and download countryinfo to sync driver and FW for embedded supplicant case Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
This commit is contained in:
parent
b1a8655bf0
commit
736058de7d
1 changed files with 7 additions and 0 deletions
|
@ -1731,6 +1731,13 @@ static int nxp_wifi_reg_domain(const struct device *dev, struct wifi_reg_domain
|
|||
LOG_ERR("Unable to set country code: %s", reg_domain->country_code);
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
ret = wlan_create_dnld_countryinfo();
|
||||
if (ret != WM_SUCCESS) {
|
||||
LOG_ERR("Unable to create and download countryinfo");
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue