mac80211_hwsim: verify wmediumd socket
authorJohannes Berg <johannes.berg@intel.com>
Tue, 7 Jan 2014 22:21:34 +0000 (23:21 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2014 19:12:58 +0000 (20:12 +0100)
commit85ca8fc74671def6041fb12c0a7d3423da56ffd3
tree933e2c462951f7ad364be6edef2ad96f6bffd207
parentde0421d53bfb5f7783e5228f8cf49f2ae7140d54
mac80211_hwsim: verify wmediumd socket

There can't be two wmediumd instances controlling hwsim,
so reject registration from a second one and verify in
the commands that it's the correct instance calling.

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