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 <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- wireless-testing.orig/net/mac80211/iface.c 2009-07-14 00:30:10.000000000 +0200 +++ wireless-testing/net/mac80211/iface.c 2009-07-14 00:30:14.000000000 +0200 @@ -803,7 +803,7 @@ int ieee80211_if_add(struct ieee80211_lo goto fail; memcpy(ndev->dev_addr, local->hw.wiphy->perm_addr, ETH_ALEN); - SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy)); +// SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy)); /* don't use IEEE80211_DEV_TO_SUB_IF because it checks too much */ sdata = netdev_priv(ndev); -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html