Re: [PATCH] net-sysfs: Add entry for nl80211 interface type

From: Marcel Holtmann
Date: Thu Apr 18 2013 - 02:44:13 EST


Hi Nicolas,

>>> Add a "wireless/nl80211_iftype" entry in the net device sysfs
>>> file structure to indicate the mode of the wireless device so
>>> it can be discovered easily from userspace.
>>
>> What's wrong with "iw dev", i.e. netlink/nl80211?
>
> "Do NOT screenscrape this tool, we don't consider its output stable."
>
> So if you are in a shell script, you're basically screwed.

if you are in a shell script, you are screwed no matter what. So what is your point?

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/