GAS server: Fix a regression in GAS server callback
Commit 2d9ffe1e85
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
1 changed files with 1 additions and 1 deletions
|
@ -1601,7 +1601,7 @@ static void handle_action(struct hostapd_data *hapd,
|
|||
hapd->iface->freq);
|
||||
}
|
||||
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,
|
||||
hapd->iface->freq);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue