mac80211_hwsim: fix PS debugfs file locking
authorJohannes Berg <johannes.berg@intel.com>
Fri, 9 Jan 2015 10:29:50 +0000 (11:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Jan 2015 10:29:50 +0000 (11:29 +0100)
commita809ca5e03c6dd3b324d148564715ca5ea2b8103
treec04db322a4035104f487660fb248dbf6376d6f8b
parent79c892b85027d5074dfa670dd451c14ee649fb88
mac80211_hwsim: fix PS debugfs file locking

The functions called within the iterators must be called with
tasklets disabled, so use atomic iteration like the rest of
the code and disable tasklets around the whole operation.

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