[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1393512787.4648.1.camel@jlt4.sipsolutions.net>
Date: Thu, 27 Feb 2014 15:53:07 +0100
From: Johannes Berg <johannes@...solutions.net>
To: David Herrmann <dh.herrmann@...il.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Kay Sievers <kay.sievers@...y.org>,
Tom Gundersen <teg@...m.no>, linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH 2/4] mac80211: set NET_NAME_USER for user-space created
ifs
Given the premise of your patches,
> +++ b/net/mac80211/iface.c
> @@ -1620,6 +1620,7 @@ int ieee80211_if_add(struct ieee80211_local *local, const char *name,
> + IEEE80211_ENCRYPT_HEADROOM;
> ndev->needed_tailroom = IEEE80211_ENCRYPT_TAILROOM;
>
> + ndev->name_assign_type = NET_NAME_USER;
this is wrong because we call this in main.c with a "wlan%d" argument
for the name, which gets expanded.
johannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists