src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/common.cc
/* Set firmware country code to a world-safe one, which is "WW" in brcmfmac*/
Set firmware country code to a world-safe one, which is "WW" in brcmfmac
Set firmware country code to a world - safe one which is " WW " in brcmfmac
zx_status_t brcmf_clear_country(brcmf_pub* drvr) {
  wlanphy_country_t country = {};
  zx_status_t err;
  BRCMF_DBG(TRACE, "Enter");
  country.alpha2[0] = country.alpha2[1] = 'W';
  err = brcmf_set_country(drvr, &country);
  if (err != ZX_OK) {
    BRCMF_ERR("Clear country failed");
  } else {
    BRCMF_DBG(INFO, "Clear country success");
  }
  return err;
}
zx_status_t brcmf_clear_country ( brcmf_pub * drvr ) { wlanphy_country_t country = { } ; zx_status_t err ; BRCMF_DBG ( TRACE , " " ) ; country . alpha2 [ 0 ] = country . alpha2 [ 1 ] = ' ' ; err = brcmf_set_country ( drvr , & country ) ; if ( err != ZX_OK ) { BRCMF_ERR ( " " ) ; } else { BRCMF_DBG ( INFO , " " ) ; } return err ; }
Set firmware country code to a world-safe one, which is "WW" in brcmfmac
Set firmware country code to a world - safe one which is " WW " in brcmfmac