mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
Remove duplicated sta_authorized_cb call
Commit 6959145b86318710d0186b618d54bce2991a6e6f ('FST: Integration into hostapd') introduced this duplicated call due to an incorrect merge conflict resolution in ap_sta_set_authorized(). An earlier commit 61fc90483fec17b69a26b16e42723474daccec24 ('P2P: Handle improper WPS termination on GO during group formation') had moved this call to an earlier location in the function and there is no point in re-introducing another copy of the call at the end of the function. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
df1d01cfed
commit
9c3380d776
@ -1074,10 +1074,6 @@ void ap_sta_set_authorized(struct hostapd_data *hapd, struct sta_info *sta,
|
||||
sta->addr);
|
||||
}
|
||||
#endif /* CONFIG_FST */
|
||||
|
||||
if (hapd->sta_authorized_cb)
|
||||
hapd->sta_authorized_cb(hapd->sta_authorized_cb_ctx,
|
||||
sta->addr, authorized, dev_addr);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user