diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-05-16 23:50:17 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-05 15:32:16 -0400 |
commit | d58e7e37aac0465b08527adadc8016421bd4060e (patch) | |
tree | e0a06894e131012e97a892704970ab0b8b1141f2 /include/linux/ioctl.h | |
parent | 3d9e6e12077d2611749ba3145bc4934aae461425 (diff) | |
download | linux-d58e7e37aac0465b08527adadc8016421bd4060e.tar.gz linux-d58e7e37aac0465b08527adadc8016421bd4060e.tar.bz2 linux-d58e7e37aac0465b08527adadc8016421bd4060e.zip |
cfg80211: simplify cfg80211_can_beacon_sec_chan API
Change cfg80211_can_beacon_sec_chan() to return true
if there is no secondary channel to simplify all the
current users of it. They all check the channel type
before calling the function because it returns false
if there's no secondary channel.
Also actually document the return value.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ioctl.h')
0 files changed, 0 insertions, 0 deletions