]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit341d89ef516a6cc797710e2a99a4146d87062ad1
treecd4ea4db19e3dde3b2bdb6159e66e7fdc53971db
parent343eeb33b40a70e11e1bb4dd14c1412534c7ee7b
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