Remove useless network path of the wifi interface when removing network 69/283569/1
authorJaehyun Kim <jeik01.kim@samsung.com>
Sat, 29 Oct 2022 05:33:50 +0000 (14:33 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Sat, 29 Oct 2022 05:33:50 +0000 (14:33 +0900)
commitce694409b243886b6001c03bbfe7a82484280363
tree500a959b74c48807a0d99c0b86cfbefbf0f46c27
parente1d8239d47f47fd98fa52bf59d823fbc44644e15
Remove useless network path of the wifi interface when removing network

When removing a network, if the network path of the interface is not NULL
and has the same information as the network to be removed, it need to be removed.

Otherwise, when a connection to the same network is attempted later,
the connection may not work normally.

Change-Id: Ia1702c05bb19c581b31070fbc7741a846d87a6ee
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
gsupplicant/gsupplicant.h
gsupplicant/supplicant.c
plugins/wifi.c