]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60fbeaa05c4fe934c6570a12e91d30dfdd74b8ad
tree933e2c462951f7ad364be6edef2ad96f6bffd207
parent659cd6d5aa7537fae535ef70d1217a321b9e3406
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