mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
dpp: fix removed dpp_reset in Stop()
It seems in my patch reordering both stop methods lost the actual call to dpp_reset().
This commit is contained in:
parent
29778733e5
commit
2f4c09def0
@ -3950,9 +3950,13 @@ static struct l_dbus_message *dpp_dbus_stop(struct l_dbus *dbus,
|
||||
{
|
||||
struct dpp_sm *dpp = user_data;
|
||||
|
||||
l_debug("");
|
||||
|
||||
if (dpp->interface != DPP_INTERFACE_DPP)
|
||||
return dbus_error_not_found(message);
|
||||
|
||||
dpp_reset(dpp);
|
||||
|
||||
return l_dbus_message_new_method_return(message);
|
||||
}
|
||||
|
||||
@ -4264,9 +4268,13 @@ static struct l_dbus_message *dpp_dbus_pkex_stop(struct l_dbus *dbus,
|
||||
{
|
||||
struct dpp_sm *dpp = user_data;
|
||||
|
||||
l_debug("");
|
||||
|
||||
if (dpp->interface != DPP_INTERFACE_PKEX)
|
||||
return dbus_error_not_found(message);
|
||||
|
||||
dpp_reset(dpp);
|
||||
|
||||
return l_dbus_message_new_method_return(message);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user