mac80211: simplify ack_skb handling
authorJohannes Berg <johannes.berg@intel.com>
Tue, 24 Nov 2015 13:25:49 +0000 (14:25 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Dec 2015 13:43:32 +0000 (14:43 +0100)
commit5ee00dbd52c57f37d74306ce6e8db26171f599b3
treecd4ea4db19e3dde3b2bdb6159e66e7fdc53971db
parenta2fcfccbad43e413de7e7ac39879ba91548f06c1
mac80211: simplify ack_skb handling

Since the cookie is assigned inside ieee80211_make_ack_skb()
now, we no longer need to return the ack_skb as the cookie
and can simplify the function's return and the callers. Also
rename it to ieee80211_attach_ack_skb() to more accurately
reflect its purpose.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/offchannel.c