summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorErik Stromdahl <erik.stromdahl@gmail.com>2019-06-17 22:01:39 +0200
committerJohannes Berg <johannes.berg@intel.com>2019-07-26 13:23:19 +0200
commitfb0e76abe34bd67756dbdf4d5982b7dc54afa1d8 (patch)
treed8d1927308f0e6e6452412144313e4b58c43da71 /drivers/net/wireless/mac80211_hwsim.c
parenta11e2f85481c2f08b55c06467445602a2330ee5b (diff)
downloadlinux-fb0e76abe34bd67756dbdf4d5982b7dc54afa1d8.tar.bz2
mac80211: add tx dequeue function for process context
Since ieee80211_tx_dequeue() must not be called with softirqs enabled (i.e. from process context without proper disable of bottom halves), we add a wrapper that disables bottom halves before calling ieee80211_tx_dequeue() The new function is named ieee80211_tx_dequeue_ni() just as all other from-process-context versions found in mac80211. The documentation of ieee80211_tx_dequeue() is also updated so it mentions that the function should not be called from process context. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> Link: https://lore.kernel.org/r/20190617200140.6189-1-erik.stromdahl@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions