Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965839Ab3DRGoH (ORCPT ); Thu, 18 Apr 2013 02:44:07 -0400 Received: from senator.holtmann.net ([87.106.208.187]:47319 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965638Ab3DRGoG convert rfc822-to-8bit (ORCPT ); Thu, 18 Apr 2013 02:44:06 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: [PATCH] net-sysfs: Add entry for nl80211 interface type From: Marcel Holtmann In-Reply-To: <516F8F4B.1000504@lri.fr> Date: Wed, 17 Apr 2013 23:43:59 -0700 Cc: Johannes Berg , Bing Zhao , linux-netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Stewart Content-Transfer-Encoding: 8BIT Message-Id: References: <1366236369-543-1-git-send-email-bzhao@marvell.com> (sfid-20130418_000709_842159_3005786A) <1366236590.8217.64.camel@jlt4.sipsolutions.net> <516F8F4B.1000504@lri.fr> To: Nicolas Cavallari X-Mailer: Apple Mail (2.1503) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 739 Lines: 24 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/