diff options
Diffstat (limited to 'net/wireless/chan.c')
-rw-r--r-- | net/wireless/chan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/chan.c b/net/wireless/chan.c index fb8f6a3c9ec5..2adf7b2eccbc 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c | |||
@@ -777,7 +777,7 @@ bool cfg80211_reg_can_beacon(struct wiphy *wiphy, | |||
777 | struct cfg80211_chan_def *chandef, | 777 | struct cfg80211_chan_def *chandef, |
778 | enum nl80211_iftype iftype) | 778 | enum nl80211_iftype iftype) |
779 | { | 779 | { |
780 | struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | 780 | struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); |
781 | bool res; | 781 | bool res; |
782 | u32 prohibited_flags = IEEE80211_CHAN_DISABLED | | 782 | u32 prohibited_flags = IEEE80211_CHAN_DISABLED | |
783 | IEEE80211_CHAN_RADAR; | 783 | IEEE80211_CHAN_RADAR; |