]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - net/wireless/ibss.c
Merge tag 'mac80211-next-for-davem-2015-03-30' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-eoan-kernel.git] / net / wireless / ibss.c
index 6309b9c0bcd5ac821f141ade56a2f8f3c089c486..4c55fab9b4e46c68ee480eb71aec969088aa7920 100644 (file)
@@ -30,7 +30,7 @@ void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
                return;
 
        bss = cfg80211_get_bss(wdev->wiphy, channel, bssid, NULL, 0,
-                              WLAN_CAPABILITY_IBSS, WLAN_CAPABILITY_IBSS);
+                              IEEE80211_BSS_TYPE_IBSS, IEEE80211_PRIVACY_ANY);
 
        if (WARN_ON(!bss))
                return;