From: Johannes Berg Date: Wed, 16 May 2012 21:50:17 +0000 (+0200) Subject: cfg80211: simplify cfg80211_can_beacon_sec_chan API X-Git-Tag: v3.6-rc1~125^2~57^2~369 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d58e7e37aac0465b08527adadc8016421bd4060e;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed