summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2016-01-05 09:07:34 (GMT)
committerSaurav Babu <saurav.babu@samsung.com>2016-01-05 09:07:34 (GMT)
commitd3abdac2b2d1270577d8404df198acf6a5ff50ad (patch)
tree970665df1120e9f1e385d4aad04a17d5318d5209
parent8769e464f3fb7608e7429ef59d24856eadc0240a (diff)
downloadconnman-d3abdac2b2d1270577d8404df198acf6a5ff50ad.zip
connman-d3abdac2b2d1270577d8404df198acf6a5ff50ad.tar.gz
connman-d3abdac2b2d1270577d8404df198acf6a5ff50ad.tar.bz2
gsupplicant: Disable P2P support in connmanrefs/changes/04/56204/1
In Tizen connman is not used for P2P support so disable P2P in connman. Currently if interface has P2P capabilities then P2P support is enabled in connman. Change-Id: Iff00505b8abd13ff85cdac9d88f80d27ecd96a95 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
-rwxr-xr-xgsupplicant/supplicant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 73f5bc3..834be59 100755
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2141,8 +2141,10 @@ static void interface_property(const char *key, DBusMessageIter *iter,
if (g_strcmp0(key, "Capabilities") == 0) {
supplicant_dbus_property_foreach(iter, interface_capability,
interface);
+#if !defined TIZEN_EXT
if (interface->mode_capa & G_SUPPLICANT_CAPABILITY_MODE_P2P)
interface->p2p_support = true;
+#endif
} else if (g_strcmp0(key, "State") == 0) {
const char *str = NULL;