Subject: [HACK] mac80211: don't set netdev parent pointer To allow playing with network namespaces even if you have sysfs configured... don't try this on your normal kernel, it will probably confuse userspace. NOT-signed-off-by: Johannes Berg --- net/mac80211/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- wireless-testing.orig/net/mac80211/iface.c 2009-11-17 12:45:09.000000000 +0100 +++ wireless-testing/net/mac80211/iface.c 2009-11-17 12:45:18.000000000 +0100 @@ -808,7 +808,7 @@ int ieee80211_if_add(struct ieee80211_lo memcpy(ndev->dev_addr, local->hw.wiphy->perm_addr, ETH_ALEN); memcpy(ndev->perm_addr, ndev->dev_addr, ETH_ALEN); - SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy)); +// SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy)); SET_NETDEV_DEVTYPE(ndev, &wiphy_type); /* don't use IEEE80211_DEV_TO_SUB_IF because it checks too much */