diff options
Diffstat (limited to 'net/wireless/sme.c')
-rw-r--r-- | net/wireless/sme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c index 20e86a95dc4e..65f800890d70 100644 --- a/net/wireless/sme.c +++ b/net/wireless/sme.c | |||
@@ -682,8 +682,8 @@ void __cfg80211_connect_result(struct net_device *dev, const u8 *bssid, | |||
682 | * - country_ie + 2, the start of the country ie data, and | 682 | * - country_ie + 2, the start of the country ie data, and |
683 | * - and country_ie[1] which is the IE length | 683 | * - and country_ie[1] which is the IE length |
684 | */ | 684 | */ |
685 | regulatory_hint_11d(wdev->wiphy, bss->channel->band, | 685 | regulatory_hint_country_ie(wdev->wiphy, bss->channel->band, |
686 | country_ie + 2, country_ie[1]); | 686 | country_ie + 2, country_ie[1]); |
687 | kfree(country_ie); | 687 | kfree(country_ie); |
688 | } | 688 | } |
689 | 689 | ||