]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: set wifi_acked[_valid] bits for transmitted SKBs
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Oct 2016 13:02:32 +0000 (15:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jan 2017 09:15:19 +0000 (10:15 +0100)
commit8fdc56825510e81511c8fdc492fa4d70f4231084
tree12f8d9839ad53da0a2f56dabad5b1fc1c45ac7d1
parentf0d8b20132fa100dae46ca4302810d7c55910089
mac80211: set wifi_acked[_valid] bits for transmitted SKBs

There may be situations in which the in-kernel originator of an
SKB cares about its wifi transmission status. To have that, set
the wifi_acked[_valid] bits before freeing/orphaning the SKB if
the destructor is set. The originator can then use it in there.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c