net: wifi: Fix typo in event

Wrong macro was copied, this causes the event to fail.

Signed-off-by: Krishna T <krishna.t@nordicsemi.no>
This commit is contained in:
Krishna T 2023-05-16 17:51:31 +05:30 committed by Anas Nashif
parent fa973d1b7b
commit b7cabb72fa

View file

@ -390,7 +390,7 @@ void wifi_mgmt_raise_disconnect_complete_event(struct net_if *iface,
.status = status,
};
net_mgmt_event_notify_with_info(NET_EVENT_WIFI_CMD_DISCONNECT_COMPLETE,
net_mgmt_event_notify_with_info(NET_EVENT_WIFI_DISCONNECT_COMPLETE,
iface, &cnx_status,
sizeof(struct wifi_status));
}