diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-09 22:00:57 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-09 22:00:57 +0530 |
commit | 2f9471ef5ab7f0bad3a8dcb2ad31d95a6daac9e1 (patch) | |
tree | 284aa543ee255cb4260bc2b3662444fdb9dfbf25 /src/rtnl.c | |
parent | 908cdc77eee10d6f01640889386c9cc51453080e (diff) | |
download | connman-2f9471ef5ab7f0bad3a8dcb2ad31d95a6daac9e1.tar.gz connman-2f9471ef5ab7f0bad3a8dcb2ad31d95a6daac9e1.tar.bz2 connman-2f9471ef5ab7f0bad3a8dcb2ad31d95a6daac9e1.zip |
[SPIN] rtnl: remove old wext interface
Change-Id: I05c4d16965d974af8fd3d83546c9690f3d8def51
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/rtnl.c')
-rwxr-xr-x | src/rtnl.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -100,6 +100,7 @@ static bool ether_blacklisted(const char *name) return false; } +#if !defined TIZEN_EXT static bool wext_interface(char *ifname) { struct iwreq wrq; @@ -121,6 +122,7 @@ static bool wext_interface(char *ifname) return true; } +#endif #if defined TIZEN_EXT static bool __connman_rtnl_is_cellular_device(const char *name) @@ -222,6 +224,8 @@ static void read_uevent(struct interface_data *interface) if (found_devtype) goto out; +#if !defined TIZEN_EXT + /* TIZEN does not use old wext interface */ /* We haven't got a DEVTYPE, let's check if it's a wireless device */ if (wext_interface(name)) { interface->service_type = CONNMAN_SERVICE_TYPE_WIFI; @@ -229,6 +233,7 @@ static void read_uevent(struct interface_data *interface) connman_error("%s runs an unsupported 802.11 driver", name); } +#endif out: g_free(name); |