summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:26:00 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:26:00 +0100
commit74ff14b1fb654a877a66e8b4db66d3f8c4c94baa (patch)
tree36045719a6cc0d1444db02c974731ab9d25211d8 /plugins
parentdd0678d005a28c3936f04dcbafb481fc80f0bea8 (diff)
downloadconnman-74ff14b1fb654a877a66e8b4db66d3f8c4c94baa.tar.gz
connman-74ff14b1fb654a877a66e8b4db66d3f8c4c94baa.tar.bz2
connman-74ff14b1fb654a877a66e8b4db66d3f8c4c94baa.zip
Rename WiMAX plugin to Intel WiMAX SDK plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.am12
-rw-r--r--plugins/iwmxsdk.c (renamed from plugins/wimax.c)32
2 files changed, 22 insertions, 22 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 443b2c1e..8e5b98e9 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -22,12 +22,6 @@ wifi_la_SOURCES = wifi.c inet.h inet.c supplicant.h supplicant.c
wifi_la_LIBADD = @GDBUS_LIBS@
endif
-if WIMAX
-plugin_LTLIBRARIES += wimax.la
-
-wimax_la_SOURCES = wimax.c
-endif
-
if BLUETOOTH
plugin_LTLIBRARIES += bluetooth.la
@@ -110,6 +104,12 @@ iospm_la_SOURCES = iospm.c
iospm_la_CFLAGS = $(AM_CFLAGS)
endif
+if IWMXSDK
+plugin_LTLIBRARIES += iwmxsdk.la
+
+iwmxsdk_la_SOURCES = iwmxsdk.c
+endif
+
if FAKE
plugin_LTLIBRARIES += fake.la
diff --git a/plugins/wimax.c b/plugins/iwmxsdk.c
index 1509e748..c30004f7 100644
--- a/plugins/wimax.c
+++ b/plugins/iwmxsdk.c
@@ -28,50 +28,50 @@
#include <connman/device.h>
#include <connman/log.h>
-static int wimax_probe(struct connman_device *device)
+static int iwmxsdk_probe(struct connman_device *device)
{
DBG("device %p", device);
return 0;
}
-static void wimax_remove(struct connman_device *device)
+static void iwmxsdk_remove(struct connman_device *device)
{
DBG("device %p", device);
}
-static int wimax_enable(struct connman_device *device)
+static int iwmxsdk_enable(struct connman_device *device)
{
DBG("device %p", device);
return 0;
}
-static int wimax_disable(struct connman_device *device)
+static int iwmxsdk_disable(struct connman_device *device)
{
DBG("device %p", device);
return 0;
}
-static struct connman_device_driver wimax_driver = {
- .name = "wimax",
+static struct connman_device_driver iwmxsdk_driver = {
+ .name = "iwmxsdk",
.type = CONNMAN_DEVICE_TYPE_WIMAX,
- .probe = wimax_probe,
- .remove = wimax_remove,
- .enable = wimax_enable,
- .disable = wimax_disable,
+ .probe = iwmxsdk_probe,
+ .remove = iwmxsdk_remove,
+ .enable = iwmxsdk_enable,
+ .disable = iwmxsdk_disable,
};
-static int wimax_init(void)
+static int iwmxsdk_init(void)
{
- return connman_device_driver_register(&wimax_driver);
+ return connman_device_driver_register(&iwmxsdk_driver);
}
-static void wimax_exit(void)
+static void iwmxsdk_exit(void)
{
- connman_device_driver_unregister(&wimax_driver);
+ connman_device_driver_unregister(&iwmxsdk_driver);
}
-CONNMAN_PLUGIN_DEFINE(wimax, "WiMAX interface plugin", VERSION,
- CONNMAN_PLUGIN_PRIORITY_DEFAULT, wimax_init, wimax_exit)
+CONNMAN_PLUGIN_DEFINE(iwmxsdk, "Intel WiMAX interface plugin", VERSION,
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, iwmxsdk_init, iwmxsdk_exit)