mac80211_hwsim: make P2P-Device support optional
authorJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2014 19:07:49 +0000 (20:07 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:48:27 +0000 (21:48 +0100)
commit8c66a3d9d951a645861b9ec5751184723c4480ce
treed2f7b1260321bc47e77ea61b3e420e3b9b9eb9ba
parentcc01f9b55fe77831a3ef63c0c461ca76540cee88
mac80211_hwsim: make P2P-Device support optional

When creating new devices, allow P2P-Device support to be
turned off to be able to test default behaviour with and
without the support.

Also add a module parameter for the default setting.

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