cfg80211: make regulatory_hint_11d() band specific
[pandora-kernel.git] / net / wireless / sme.c
index 2333d78..2ce5e16 100644 (file)
@@ -454,6 +454,7 @@ void __cfg80211_connect_result(struct net_device *dev, const u8 *bssid,
         * - and country_ie[1] which is the IE length
         */
        regulatory_hint_11d(wdev->wiphy,
+                           bss->channel->band,
                            country_ie + 2,
                            country_ie[1]);
 }