]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: refactor cfg80211_can_use_iftype_chan()
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 17 Feb 2014 14:52:35 +0000 (16:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:55:39 +0000 (10:55 +0200)
commit31cd22c99e5c463a2f7b80d36f592ba13fa82076
treee1f03836ab1dc2bd10e2249972c42534b0c08101
parentd145506953a4d2d220b620c6872bee768a9bc419
cfg80211: refactor cfg80211_can_use_iftype_chan()

Separate the code that counts the interface types and channels from
the code that check the interface combinations.  The new function that
checks for combinations is exported so it can be called by the
drivers.

This is done in preparation for moving the interface combinations
checks out of cfg80211.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Documentation/DocBook/80211.tmpl
include/net/cfg80211.h
net/wireless/util.c