NetworkManager/src/platform
Dan Williams 45bfb653f3 wifi: don't query nl80211 for non-WiFi devices (bgo #740131)
The upstream kernel added module aliases for nl80211 in commit
fb4e156886ce6e8309e912d8b370d192330d19d3, so querying nl80211
now auto-loads the module.  Previously NM was doing this to
determine whether an ethernet-like device was a Wi-Fi device
that supported nl80211, but this leads to the nl80211 loading
on platforms that will never have or use Wi-Fi.

Since every nl80211-capable device will already have
DEVTYPE=wlan set (from /sys/class/net/wlan0/uevent), we can use
that as an indicator that the ethernet-like device is WiFi
instead of asking nl80211.

https://bugzilla.gnome.org/show_bug.cgi?id=740131
2014-11-17 09:45:08 -06:00
..
tests all: consistently include config.h 2014-11-13 17:18:42 -05:00
wifi wifi: don't query nl80211 for non-WiFi devices (bgo #740131) 2014-11-17 09:45:08 -06:00
Makefile.am platform: add minimal Makefile.am for convenience 2013-06-19 13:48:29 +02:00
nm-fake-platform.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-fake-platform.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-linux-platform.c wifi: don't query nl80211 for non-WiFi devices (bgo #740131) 2014-11-17 09:45:08 -06:00
nm-linux-platform.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-platform.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-platform.h platform: extend nm_platform_ipX_route_get_all() to return default-routes only 2014-11-07 15:23:11 +01:00