]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Handle NL80211_CMD_PROBE_CLIENT command response
authorIlan Peer <ilan.peer@intel.com>
Wed, 3 Apr 2019 15:17:12 +0000 (18:17 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 15 Apr 2019 22:53:18 +0000 (01:53 +0300)
commit323a51cc01985bdf73168a29a8ef77c446b9df2d
treee1909fc11fa31baa644134d6386934ed0ebd13da
parent5e6c54bee8c5fc86d69ba86cb7d12872c970ccf8
nl80211: Handle NL80211_CMD_PROBE_CLIENT command response

When processing the NL80211_CMD_PROBE_CLIENT command response, the
nl80211 layer in the kernel sends a response containing the cookie
associated with the client probe request. This response was not handled
by driver_nl80211.c when sending the command, and it was mistakenly
handled as an asynchronous event. This incorrect event did not include
the MAC/ACK attributes, so it was ignored in practice, but nevertheless,
the command response should not be processed as an event.

Fix this by reading the response as part of the sending the command
flow.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
src/drivers/driver_nl80211.c