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)
commitcb2d956dd329caa11b5ece454dc52253aa038e73
treee1f03836ab1dc2bd10e2249972c42534b0c08101
parentc8866e55a94fb02b83b13f289e5e470fc928703a
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