linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Ben Greear <greearb@candelatech.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] wireless:  Print wiphy name in sysfs.
Date: Mon, 11 Oct 2010 20:10:00 +0200	[thread overview]
Message-ID: <1286820600.3634.80.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <4CB351B2.4070803@candelatech.com>

On Mon, 2010-10-11 at 11:04 -0700, Ben Greear wrote:


> I use this to determine the phy device for a particular network device:
> 
> [root@dx-2u-ath5k lanforge]# cat /sys/class/net/wlan0/phy80211/name
> wiphy0

What's wrong with

basename $(readlink /sys/class/net/wlan0/phy80211)

?

johannes


  reply	other threads:[~2010-10-11 18:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11 17:28 [PATCH] wireless: Print wiphy name in sysfs greearb
2010-10-11 17:58 ` Johannes Berg
2010-10-11 18:04   ` Ben Greear
2010-10-11 18:10     ` Johannes Berg [this message]
2010-10-11 18:22       ` Ben Greear
2010-10-11 18:42         ` Johannes Berg
2010-10-11 18:50           ` Ben Greear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1286820600.3634.80.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).