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>
This commit is contained in:
parent
79db4092c4
commit
84fdc8cd8b
1 changed files with 1 additions and 0 deletions
|
@ -3926,6 +3926,7 @@ static void do_process_drv_event(struct i802_bss *bss, int cmd,
|
|||
case NL80211_CMD_ASSOCIATE:
|
||||
case NL80211_CMD_DEAUTHENTICATE:
|
||||
case NL80211_CMD_DISASSOCIATE:
|
||||
case NL80211_CMD_FRAME:
|
||||
case NL80211_CMD_FRAME_TX_STATUS:
|
||||
case NL80211_CMD_UNPROT_DEAUTHENTICATE:
|
||||
case NL80211_CMD_UNPROT_DISASSOCIATE:
|
||||
|
|
Loading…
Reference in a new issue