diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-05-10 21:25:23 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-16 19:08:15 +0200 |
commit | 294a20e039a5125b0e88b96e0ee47065ff4e07a5 (patch) | |
tree | a05c25965b6fa323a34840cdfd27e5d6fe2152fc /net/wireless | |
parent | nl80211: prevent additions to old station flags API (diff) | |
download | linux-294a20e039a5125b0e88b96e0ee47065ff4e07a5.tar.xz linux-294a20e039a5125b0e88b96e0ee47065ff4e07a5.zip |
cfg80211: fix cfg80211_can_beacon_sec_chan prototype
It should return bool, not int. The function even
does return true/false.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-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 2fcfe0993ca2..884801ac4dd0 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c @@ -45,7 +45,7 @@ rdev_freq_to_chan(struct cfg80211_registered_device *rdev, return chan; } -int cfg80211_can_beacon_sec_chan(struct wiphy *wiphy, +bool cfg80211_can_beacon_sec_chan(struct wiphy *wiphy, struct ieee80211_channel *chan, enum nl80211_channel_type channel_type) { |