mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 03:23:04 -05:00
GAS server: Fix a regression in GAS server callback
Commit 2d9ffe1e855410839468a75cf6723ee339acdd7e broke GAS server callback for receiving Public Action frames. The incorrect context pointer was used in the public_action_cb2 case. Fix this to use the correct context pointer. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
bdaf17489a
commit
8dabf4bb46
@ -1601,7 +1601,7 @@ static void handle_action(struct hostapd_data *hapd,
|
|||||||
hapd->iface->freq);
|
hapd->iface->freq);
|
||||||
}
|
}
|
||||||
if (hapd->public_action_cb2) {
|
if (hapd->public_action_cb2) {
|
||||||
hapd->public_action_cb2(hapd->public_action_cb_ctx,
|
hapd->public_action_cb2(hapd->public_action_cb2_ctx,
|
||||||
(u8 *) mgmt, len,
|
(u8 *) mgmt, len,
|
||||||
hapd->iface->freq);
|
hapd->iface->freq);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user