]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Add a function to get the number of supported channels
authorIlan Peer <ilan.peer@intel.com>
Thu, 9 Jan 2014 09:37:23 +0000 (11:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 9 Jan 2014 13:24:24 +0000 (14:24 +0100)
commit495e3b3d320e2680740488008807af3a873cf1d4
treed35ed71d3af26f7bbc681da4cbfcee99f8685476
parentafc5bedb1bcde616039ac321d0fdbcbf628ef8c2
cfg80211: Add a function to get the number of supported channels

Add a utility function to get the number of channels supported by
the device, and update the places in the code that need this data.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
[replace another occurrence in libertas, fix kernel-doc, fix bugs]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/libertas/cfg.c
include/net/cfg80211.h
net/wireless/nl80211.c
net/wireless/scan.c
net/wireless/sme.c
net/wireless/util.c