mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
ap: Drop unneeded ap_deauth_cb cleanup step
ap_free_sta() later in ap_deauth_cb already cancels the command.
This commit is contained in:
parent
69687bedd1
commit
47ae8571c1
5
src/ap.c
5
src/ap.c
@ -1457,11 +1457,6 @@ static void ap_deauth_cb(struct netdev *netdev, const struct mmpdu_header *hdr,
|
|||||||
if (!sta)
|
if (!sta)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (sta->assoc_resp_cmd_id) {
|
|
||||||
l_genl_family_cancel(nl80211, sta->assoc_resp_cmd_id);
|
|
||||||
sta->assoc_resp_cmd_id = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sta->associated)
|
if (sta->associated)
|
||||||
ap_disassociate_sta(ap, sta);
|
ap_disassociate_sta(ap, sta);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user