]> 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)
commit6bc3438f14a5535fabb55823465f192b532ae62f
tree8819fea1f493077ff311208986ebfe27bd327623
parentbb784bfb6880d15693fc0967fb172a3f0868e8e0
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