aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh_sync.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-10-26 09:53:06 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-10-30 04:33:23 -0400
commit8a2fbedcdc9bec1d613961f97cb87d6b71a66076 (patch)
tree8dea8cad70797353fb6f94273715dec62e388d89 /net/mac80211/mesh_sync.c
parentcbc668a7058222fe065727013097664fc83a700d (diff)
mac80211: combine status/drop reporting
The TX status reporting is done for both the nl80211 report as well as the socket option. The socket option is also reported when an skb is dropped to guarantee that the copy in the IDR tree is freed and status is reported to userspace. However, when a frame is dropped, no nl80211 status is reported. This can cause userspace to stop making progress while waiting for a status notification. Combine the nl80211 and socket option status reporting into a new function and call it in both places -- when the status comes in from the driver and when the skb is dropped. While at it, also simplify the code in the nl80211 portion a bit. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_sync.c')
0 files changed, 0 insertions, 0 deletions