[PATCH] disconnected notification to dbus on intreface up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From d05b55b745eb8c8a01c798f9e649983b9f6da0a1 Mon Sep 17 00:00:00 2001
From: Avichal Agarwal <avichal.a@xxxxxxxxxxx>
Date: Mon, 27 Jun 2016 17:16:31 +0530
Subject: [PATCH] disconnected notification to dbus on intreface up

This patch will send  (disconnected) state changed signal to dbus on
disable and enable the  interface.Before this patch the interface state
received by dbus was inactive , which should be disconnected.
commands:ifconfig (interface ) down/up

Signed-off-by: Avichal Agarwal <avichal.a@xxxxxxxxxxx>
---
 wpa_supplicant/dbus/dbus_new.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index 0263b2c..e3a9fd8 100644
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -1982,6 +1982,7 @@ void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
 		break;
 	case WPAS_DBUS_PROP_STATE:
 		prop = "State";
+		flush = TRUE;
 		break;
 	case WPAS_DBUS_PROP_CURRENT_BSS:
 		prop = "CurrentBSS";
-- 
1.7.9.5

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux