mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 10:10:14 +01:00
platforn/linux: don't fall back to WEXT for OLPC Mesh
nl80211 offers the same functionality sans the bugs.
(cherry picked from commit f537056589)
This commit is contained in:
parent
60bff25333
commit
1c950c180f
1 changed files with 1 additions and 9 deletions
|
|
@ -2879,19 +2879,11 @@ _new_from_nl_link (NMPlatform *platform, const NMPCache *cache, struct nlmsghdr
|
|||
&& obj->_link.ext_data == NULL) {
|
||||
switch (obj->link.type) {
|
||||
case NM_LINK_TYPE_WIFI:
|
||||
case NM_LINK_TYPE_OLPC_MESH:
|
||||
obj->_link.ext_data = (GObject *) nm_wifi_utils_new (ifi->ifi_index,
|
||||
_genl_sock (NM_LINUX_PLATFORM (platform)),
|
||||
TRUE);
|
||||
break;
|
||||
case NM_LINK_TYPE_OLPC_MESH:
|
||||
#if HAVE_WEXT
|
||||
/* The kernel driver now uses nl80211, but we force use of WEXT because
|
||||
* the cfg80211 interactions are not quite ready to support access to
|
||||
* mesh control through nl80211 just yet.
|
||||
*/
|
||||
obj->_link.ext_data = (GObject *) nm_wifi_utils_wext_new (ifi->ifi_index, FALSE);
|
||||
#endif
|
||||
break;
|
||||
case NM_LINK_TYPE_WPAN:
|
||||
obj->_link.ext_data = (GObject *) nm_wpan_utils_new (ifi->ifi_index,
|
||||
_genl_sock (NM_LINUX_PLATFORM (platform)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue