]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit6ff57cf88807dd81300b5b9c623dc5eb6422b9f6
tree8819fea1f493077ff311208986ebfe27bd327623
parent51217cee3a94d5409d6ee2ac090ae96bc9a06757
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