diff options
author | Michael Biebl <biebl@debian.org> | 2013-02-20 23:06:45 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2013-02-20 23:06:45 +0100 |
commit | 8d275584fc94f398f0a7c990dcd057533d9a5856 (patch) | |
tree | 1bf4a928e201222a008e6776799d174ee3223be3 /src/wifi/wifi-utils-wext.c | |
parent | e17c5736fc3722ce51cb33f3edb203960125a4c1 (diff) |
Imported Upstream version 0.9.8.0upstream/0.9.8.0
Diffstat (limited to 'src/wifi/wifi-utils-wext.c')
-rw-r--r-- | src/wifi/wifi-utils-wext.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wifi/wifi-utils-wext.c b/src/wifi/wifi-utils-wext.c index 37cd94e98..6e990aed7 100644 --- a/src/wifi/wifi-utils-wext.c +++ b/src/wifi/wifi-utils-wext.c @@ -556,6 +556,12 @@ wext_get_caps (WifiDataWext *wext, struct iw_range *range) caps &= ~WPA_CAPS; } + /* There's no way to detect Ad-Hoc/AP mode support with WEXT + * (other than actually trying to do it), so just assume that + * Ad-Hoc is supported and AP isn't. + */ + caps |= NM_WIFI_DEVICE_CAP_ADHOC; + return caps; } |