diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-06-01 22:54:13 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-06-02 13:07:55 +0200 |
commit | b2eb0ee6d0220b47a1f901e4f1c56dd594509d8e (patch) | |
tree | ccc9c12165a9d44b3fccbbd3193cd38d555a69dc /drivers/net/wireless/ath/wcn36xx | |
parent | db388a567ff9600debc2433c1fddf79a8fc38b21 (diff) |
mac80211: copy nl80211 mgmt TX SKB for status
When we return the TX status for an nl80211 mgmt TX SKB, we
should also return the original frame with the status to
allow userspace to match up the submission (it could also
use the cookie but both ways are permissible.)
As TX SKBs could be encrypted, at least in the case of ANQP
while associated with the AP, copy the original SKB, store
it with an ACK frame ID and restructure the status path to
use that to return status with the original SKB. Otherwise,
userspace (in particular wpa_supplicant) will get confused.
Reported-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx')
0 files changed, 0 insertions, 0 deletions