diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-05-10 15:25:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-16 13:08:15 -0400 |
commit | 294a20e039a5125b0e88b96e0ee47065ff4e07a5 (patch) | |
tree | a05c25965b6fa323a34840cdfd27e5d6fe2152fc /include/net/cfg80211.h | |
parent | 3383b5a69de59eeef2501834c6e0960b7e2bff28 (diff) |
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 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index adb2320bccdf..0289d4ce7070 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -3365,9 +3365,9 @@ void cfg80211_report_obss_beacon(struct wiphy *wiphy, | |||
3365 | * @chan: main channel | 3365 | * @chan: main channel |
3366 | * @channel_type: HT mode | 3366 | * @channel_type: HT mode |
3367 | */ | 3367 | */ |
3368 | int cfg80211_can_beacon_sec_chan(struct wiphy *wiphy, | 3368 | bool cfg80211_can_beacon_sec_chan(struct wiphy *wiphy, |
3369 | struct ieee80211_channel *chan, | 3369 | struct ieee80211_channel *chan, |
3370 | enum nl80211_channel_type channel_type); | 3370 | enum nl80211_channel_type channel_type); |
3371 | 3371 | ||
3372 | /* | 3372 | /* |
3373 | * cfg80211_ch_switch_notify - update wdev channel and notify userspace | 3373 | * cfg80211_ch_switch_notify - update wdev channel and notify userspace |