]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15a42ce359a3899c812a2e61b62e65b7c075ab4a
treec04db322a4035104f487660fb248dbf6376d6f8b
parent3e52fa73006b03d62845547a29fee73bab7927a8
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