mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Register wpa_msg callback even if only global ctrl_iface is used
Previously, wpa_msg_register_cb() was called only from successful completion of per-interface control interface initialization. This would leave the callback unregistered in case only the global control interface is used which would result in not delivering control interface events on the global interface. Fix this by registering the callback handler also from successful initialization of the global control interface. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
af96448488
commit
76fe79ef2d
@ -1035,6 +1035,8 @@ wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wpa_msg_register_cb(wpa_supplicant_ctrl_iface_msg_cb);
|
||||||
|
|
||||||
return priv;
|
return priv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user