]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Accept NL80211_CMD_FRAME events in global context
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 18 Dec 2023 19:08:26 +0000 (21:08 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 18 Dec 2023 19:08:26 +0000 (21:08 +0200)
commit84fdc8cd8bfe19ec62d2d4ea1f2e5086487a2aa9
treea289509810cd2b5590eb77e7cbe9cb334f2e98a7
parent79db4092c459eb08b83a008c4b00bb69785600df
nl80211: Accept NL80211_CMD_FRAME events in global context

This is a workaround for some race conditions where the hardcoded use of
global->nl_cb in send_and_recv() ends up getting events delivered
through unexpected context when they happen to arrive at the time when a
command is being processed.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/drivers/driver_nl80211_event.c