diff options
author | Leena Gunda <leena.gunda@wipro.com> | 2010-11-22 17:56:32 +0530 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-11-22 16:32:13 +0100 |
commit | 8ada288bd6250fb4dd724b0208e66f9013ca3c34 (patch) | |
tree | b224e5b38ff70b1fef464f0624298f6165998d81 | |
parent | 49a3e8f605d7edd2805f98991a23b5634d69770a (diff) | |
download | connman-8ada288bd6250fb4dd724b0208e66f9013ca3c34.tar.gz connman-8ada288bd6250fb4dd724b0208e66f9013ca3c34.tar.bz2 connman-8ada288bd6250fb4dd724b0208e66f9013ca3c34.zip |
gsupplicant: Set interface data to NULL upon driver removal
Fixes BMC#10302
-rw-r--r-- | plugins/wifi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index e3247a14..eacace4e 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -163,6 +163,8 @@ static void wifi_remove(struct connman_device *device) connman_device_unref(wifi->device); connman_rtnl_remove_watch(wifi->watch); + g_supplicant_interface_set_data(wifi->interface, NULL); + g_free(wifi->identifier); g_free(wifi); } |