nl80211: fix mgmt tx status and testmode reporting for netns
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 25 Jun 2013 07:17:17 +0000 (09:17 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:10 +0000 (01:57 +0100)
commit0b06991f5cbcc15b8457b5c53e3d1e0c6d245f08
tree5a7303893378964d6f3d37a4a623ee2b520cf311
parentb0aede29af33b022c7a6d4ca00b3dede29899516
nl80211: fix mgmt tx status and testmode reporting for netns

commit a0ec570f4f69c4cb700d743a915096c2c8f56a99 upstream.

These two events were sent to the default network
namespace.

This caused AP mode in a non-default netns to not
work correctly. Mgmt tx status was multicasted to
a different (default) netns instead of the one the
AP was in.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/wireless/nl80211.c