Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 294a20e0 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

cfg80211: fix cfg80211_can_beacon_sec_chan prototype



It should return bool, not int. The function even
does return true/false.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3383b5a6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3365,7 +3365,7 @@ void cfg80211_report_obss_beacon(struct wiphy *wiphy,
 * @chan: main channel
 * @channel_type: HT mode
 */
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);

+1 −1
Original line number Diff line number Diff line
@@ -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)
{