nl80211: fix netns separation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jun 2012 12:14:22 +0000 (14:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Jun 2012 08:57:01 +0000 (10:57 +0200)
There are currently a few ways to "escape"
the network namespace and access a wiphy
that belongs to another namespace. Add a
netns argument to the relevant functions
to fix this.

One remaining issue with testmode will be
fixed in a follow-up patch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c

Simple merge