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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:22 +0000 (18:35 -0700)
commitc8942c6aac25cc5e98161c1a6b84b6ae10bff945
treea4cee4217877d9d22d1c5d82135912de8f0bf9c7
parente59f8a9d54603dcadbee294849988d1876d4bd38
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/nl80211.c