wpa_supplicant稳定性crash问题

Signed-off-by: Dkdragon <haojilong@huawei.com>
This commit is contained in:
Dkdragon 2024-01-09 18:55:10 +08:00
parent ef2690066a
commit 371269157b

View File

@ -1003,11 +1003,7 @@ static int wpas_p2p_group_delete(struct wpa_supplicant *wpa_s,
struct P2pGroupRemovedParam p2pGroupRemovedParam;
#endif
#ifdef CONFIG_VENDOR_EXT
if (ssid) {
wpa_msg_global(wpa_s->p2pdev, MSG_INFO,
P2P_EVENT_GROUP_REMOVED "%s %s%s "MACSTR,
wpa_s->ifname, gtype, reason, MAC2STR(ssid->bssid));
}
wpa_vendor_ext_group_delete_global(wpa_s, gtype, reason, ssid);
#ifdef CONFIG_LIBWPA_VENDOR
if (ssid) {
os_snprintf((char *) p2pGroupRemovedParam.groupIfName, WIFI_P2P_GROUP_IFNAME_LENGTH, "%s %s%s "MACSTR,