diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-06-20 17:35:38 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-06-20 17:35:38 +0000 |
commit | 5f156576cbfb4ea45c65b20cb57b9cc6794d5547 (patch) | |
tree | 6d39e52d50ab11fefdc60d6ca6e370cec03330e5 /ui/gtk/main_80211_toolbar.c | |
parent | 3fa645481f82e32d5ad01ebce9c482c4edae31ae (diff) |
#if 0 out code to make it build in it's current state
svn path=/trunk/; revision=43413
Diffstat (limited to 'ui/gtk/main_80211_toolbar.c')
-rw-r--r-- | ui/gtk/main_80211_toolbar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/gtk/main_80211_toolbar.c b/ui/gtk/main_80211_toolbar.c index ac48654356..4e5c822f5f 100644 --- a/ui/gtk/main_80211_toolbar.c +++ b/ui/gtk/main_80211_toolbar.c @@ -166,13 +166,13 @@ int get_selected_channel_type(void) static int tb80211_do_set_channel(char *iface, int freq, int type) { +#if 0 gchar *freq_s, *type_s; gchar *data, *primary_msg, *secondary_msg; int ret; freq_s = g_strdup_printf("%d", freq); type_s = ws80211_chan_type_to_str(type); - ret = sync_interface_set_80211_chan(iface, freq_s, type_s, &data, &primary_msg, &secondary_msg); @@ -180,12 +180,13 @@ tb80211_do_set_channel(char *iface, int freq, int type) if (ret && primary_msg) { return atoi(primary_msg); } - g_free(data); g_free(primary_msg); g_free(secondary_msg); g_free(freq_s); return ret; +#endif + return -1;; } /* Called on freq and type combo box change. */ |