[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMcMvshGf1y3_pA+KxEGNFBC=mnZHD6XQh__hNHfAtAmJ37UNg@mail.gmail.com>
Date: Mon, 22 Apr 2013 06:55:00 -0700
From: Paul Stewart <pstew@...omium.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: Bing Zhao <bzhao@...vell.com>, linux-netdev@...r.kernel.org,
linux-wireless <linux-wireless@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] net-sysfs: Add entry for nl80211 interface type
On Mon, Apr 22, 2013 at 6:29 AM, Johannes Berg
<johannes@...solutions.net> wrote:
>
> On Wed, 2013-04-17 at 15:14 -0700, Paul Stewart wrote:
> > I believe the documents for "iw" state explicitly that we shouldn't
> > screen-scrape it?
>
> Well, you specifically control your system. I'd also be happy to add
> some (maybe a bit hidden) commands to print out _just_ the (numeric)
> type, to aid scripting?
No need. I already made the necessary changes in userspace to switch
to nl80211 to retrieve the iftype. Both Bing and I are done
proselytizing at this point. :-)
>
> All I'm trying to say with that though is that
> you shouldn't rely on specific output formatting, particularly not with
> scan results and "iw list" etc.
>
> johannes
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists