diff options
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r-- | net/mac80211/ieee80211.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index 2ddf4ef4065e..6c63dcf9f1ec 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c | |||
@@ -5095,7 +5095,7 @@ int ieee80211_register_hwmode(struct ieee80211_hw *hw, | |||
5095 | } | 5095 | } |
5096 | 5096 | ||
5097 | if (!(hw->flags & IEEE80211_HW_DEFAULT_REG_DOMAIN_CONFIGURED)) | 5097 | if (!(hw->flags & IEEE80211_HW_DEFAULT_REG_DOMAIN_CONFIGURED)) |
5098 | ieee80211_init_client(local->mdev); | 5098 | ieee80211_set_default_regdomain(mode); |
5099 | 5099 | ||
5100 | return 0; | 5100 | return 0; |
5101 | } | 5101 | } |
@@ -5246,6 +5246,7 @@ static int __init ieee80211_init(void) | |||
5246 | } | 5246 | } |
5247 | 5247 | ||
5248 | ieee80211_debugfs_netdev_init(); | 5248 | ieee80211_debugfs_netdev_init(); |
5249 | ieee80211_regdomain_init(); | ||
5249 | 5250 | ||
5250 | return 0; | 5251 | return 0; |
5251 | } | 5252 | } |