diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-26 15:53:06 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-30 09:33:23 +0100 |
commit | 8a2fbedcdc9bec1d613961f97cb87d6b71a66076 (patch) | |
tree | 8dea8cad70797353fb6f94273715dec62e388d89 /scripts/genksyms | |
parent | cbc668a7058222fe065727013097664fc83a700d (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 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions