]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: clean up cfg80211 SME APIs
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 May 2013 22:55:00 +0000 (00:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 11:03:10 +0000 (13:03 +0200)
commite37d7d43b590975d3ab56dc607aed93728b7d31d
tree8819fea1f493077ff311208986ebfe27bd327623
parentf96d964289324cbfe210dc4ba1b2118bb437e4d6
cfg80211/mac80211: clean up cfg80211 SME APIs

Do some cleanups in the cfg80211 SME APIs, which are
only used by mac80211.

Most of these functions get a frame passed, and there
isn't really any reason to export multiple functions
as cfg80211 can check the frame type instead, do that.

Additionally, the API functions have confusing names
like cfg80211_send_...() which was meant to indicate
that it sends an event to userspace, but gets a bit
confusing when there's both TX and RX and they're not
all clearly labeled.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/mlme.c
net/mac80211/rx.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/trace.h