]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/wireless/chan.c
cfg80211: change wiphy_to_dev function name
[mirror_ubuntu-artful-kernel.git] / net / wireless / chan.c
index fb8f6a3c9ec527ebf04e7098825705eb4f50a24d..2adf7b2eccbca19d84db204c480fb7d21ba15e6d 100644 (file)
@@ -777,7 +777,7 @@ bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
                             struct cfg80211_chan_def *chandef,
                             enum nl80211_iftype iftype)
 {
-       struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
+       struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy);
        bool res;
        u32 prohibited_flags = IEEE80211_CHAN_DISABLED |
                               IEEE80211_CHAN_RADAR;