wifi: hack for wext devices reporting IW_MODE_AUTO configuration mode.

https://bugzilla.gnome.org/show_bug.cgi?id=763388
(cherry picked from commit 0f6febc6fb)
This commit is contained in:
Francesco Giudici 2016-03-11 09:55:39 +01:00
parent 13eb842d7e
commit 70c0defe75

View file

@ -122,6 +122,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;