|
@@ -3802,6 +3802,10 @@ int mwifiex_register_cfg80211(struct mwifiex_adapter *adapter)
|
|
|
wiphy->cipher_suites = mwifiex_cipher_suites;
|
|
|
wiphy->n_cipher_suites = ARRAY_SIZE(mwifiex_cipher_suites);
|
|
|
|
|
|
+ if (adapter->region_code)
|
|
|
+ wiphy->regulatory_flags |= REGULATORY_DISABLE_BEACON_HINTS |
|
|
|
+ REGULATORY_COUNTRY_IE_IGNORE;
|
|
|
+
|
|
|
ether_addr_copy(wiphy->perm_addr, adapter->perm_addr);
|
|
|
wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
|
|
|
wiphy->flags |= WIPHY_FLAG_HAVE_AP_SME |
|