summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2016-03-11 09:55:39 +0100
committerFrancesco Giudici <fgiudici@redhat.com>2016-03-11 10:36:05 +0100
commit9859ce9823e39447ce7ee5a374fac0bad19c819b (patch)
tree2ec90effb3751651630daa78d20ad6f931615b83
parentfd8c56425e9e94aff52b1e7f00ed17066390e425 (diff)
downloadNetworkManager-fg/WiFi_wext-bgo763388.tar.gz
wifi: hack for wext devices reporting IW_MODE_AUTO configuration mode.fg/WiFi_wext-bgo763388
https://bugzilla.gnome.org/show_bug.cgi?id=763388
-rw-r--r--src/platform/wifi/wifi-utils-wext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/wifi/wifi-utils-wext.c b/src/platform/wifi/wifi-utils-wext.c
index 26f4ce41a8..af285b45c3 100644
--- a/src/platform/wifi/wifi-utils-wext.c
+++ b/src/platform/wifi/wifi-utils-wext.c
@@ -118,6 +118,7 @@ wifi_wext_get_mode (WifiData *data)
case IW_MODE_MASTER:
return NM_802_11_MODE_AP;
case IW_MODE_INFRA:
+ case IW_MODE_AUTO: /* hack for WEXT devices reporting IW_MODE_AUTO */
return NM_802_11_MODE_INFRA;
default:
break;