summaryrefslogtreecommitdiff
path: root/plugins/iwmx.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-16 09:44:53 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-16 15:26:11 +0200
commit725ddbb743d4ab7a531515b43462977319736c97 (patch)
treed20644688f8d6f04bf5b9eb59065273bb9bcfb39 /plugins/iwmx.c
parentea8124883725a6b4b6806e79213c04c46438cf9f (diff)
downloadconnman-725ddbb743d4ab7a531515b43462977319736c97.tar.gz
connman-725ddbb743d4ab7a531515b43462977319736c97.tar.bz2
connman-725ddbb743d4ab7a531515b43462977319736c97.zip
wimax: Remove unused station_type
And remove therefore the dependencie on connman_network_set_string().
Diffstat (limited to 'plugins/iwmx.c')
-rw-r--r--plugins/iwmx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/iwmx.c b/plugins/iwmx.c
index 079669a3..419b3c98 100644
--- a/plugins/iwmx.c
+++ b/plugins/iwmx.c
@@ -119,7 +119,6 @@ static struct connman_network_driver iwmx_cm_network_driver = {
*/
struct connman_network *__iwmx_cm_network_available(
struct wmxsdk *wmxsdk, const char *station_name,
- const char *station_type,
const void *sdk_nspname, size_t sdk_nspname_size,
int strength)
{
@@ -156,7 +155,6 @@ struct connman_network *__iwmx_cm_network_available(
DBG("updating network %s nw %p\n", station_name, nw);
connman_network_set_available(nw, TRUE);
connman_network_set_strength(nw, strength);
- connman_network_set_string(nw, "WiMAX Network Type", station_type);
error_add:
return nw;
}
@@ -168,14 +166,13 @@ error_add:
*/
struct connman_network *iwmx_cm_network_available(
struct wmxsdk *wmxsdk, const char *station_name,
- const char *station_type,
const void *sdk_nspname, size_t sdk_nspname_size,
int strength)
{
struct connman_network *nw;
g_static_mutex_lock(&wmxsdk->network_mutex);
- nw = __iwmx_cm_network_available(wmxsdk, station_name, station_type,
+ nw = __iwmx_cm_network_available(wmxsdk, station_name,
sdk_nspname, sdk_nspname_size,
strength);
g_static_mutex_unlock(&wmxsdk->network_mutex);