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)
commitbdfbec2d2d240e9c528caae9c743801629b60166
treed35ed71d3af26f7bbc681da4cbfcee99f8685476
parent685328b296acc810541d2532957912690273c64a
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