diff options
author | 2015-01-19 18:49:50 +0100 | |
---|---|---|
committer | 2015-01-19 18:49:56 +0100 | |
commit | 6e9f3fa4f0401ad3a8fe4e5b1282d35539b58a0f (patch) | |
tree | c83cc07089cc13afea911d18a53832ddf33be743 /net | |
parent | cfg80211: fix checking nl80211_send_station() return value (diff) | |
download | linux-6e9f3fa4f0401ad3a8fe4e5b1282d35539b58a0f.tar.gz linux-6e9f3fa4f0401ad3a8fe4e5b1282d35539b58a0f.tar.bz2 linux-6e9f3fa4f0401ad3a8fe4e5b1282d35539b58a0f.zip |
Revert "wireless: Support of IFLA_INFO_KIND rtnl attribute"
This reverts commit ba1debdfed974f25aa598c283567878657b292ee.
Oliver reported that it breaks network-manager, for some reason with
this patch NM decides that the device isn't wireless but "generic"
(ethernet), sees no carrier (as expected with wifi) and fails to do
anything else with it.
Revert this to unbreak userspace.
Reported-by: Oliver Hartkopp <socketcan@hartkopp.net>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c index 456e4c38c279..3af0ecf1cc16 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -21,7 +21,6 @@ #include <linux/sched.h> #include <net/genetlink.h> #include <net/cfg80211.h> -#include <net/rtnetlink.h> #include "nl80211.h" #include "core.h" #include "sysfs.h" @@ -964,10 +963,6 @@ void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev, } EXPORT_SYMBOL(cfg80211_stop_iface); -static const struct rtnl_link_ops wireless_link_ops = { - .kind = "wlan", -}; - static int cfg80211_netdev_notifier_call(struct notifier_block *nb, unsigned long state, void *ptr) { @@ -986,7 +981,6 @@ static int cfg80211_netdev_notifier_call(struct notifier_block *nb, switch (state) { case NETDEV_POST_INIT: SET_NETDEV_DEVTYPE(dev, &wiphy_type); - dev->rtnl_link_ops = &wireless_link_ops; break; case NETDEV_REGISTER: /* |