From: Alexander Aring <alex.aring@gmail.com>
To: linux-wpan@vger.kernel.org
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [PATCH wpan-tools 2/2] interface: remove twice phy information
Date: Tue, 20 Jan 2015 11:35:40 +0100 [thread overview]
Message-ID: <1421750140-24760-2-git-send-email-alex.aring@gmail.com> (raw)
In-Reply-To: <1421750140-24760-1-git-send-email-alex.aring@gmail.com>
The phy information is already shown in a previous printout and this
code seems that it was never be functional.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
src/interface.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/interface.c b/src/interface.c
index 9e59f15..559a104 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -212,8 +212,6 @@ static int print_iface_handler(struct nl_msg *msg, void *arg)
le16toh(nla_get_u16(tb_msg[NL802154_ATTR_PAN_ID])));
if (tb_msg[NL802154_ATTR_IFTYPE])
printf("%s\ttype %s\n", indent, iftype_name(nla_get_u32(tb_msg[NL802154_ATTR_IFTYPE])));
- if (!wpan_phy && tb_msg[NL802154_ATTR_WPAN_PHY])
- printf("%s\tWPANphy %d\n", indent, nla_get_u32(tb_msg[NL802154_ATTR_WPAN_PHY]));
if (tb_msg[NL802154_ATTR_MAX_FRAME_RETRIES])
printf("%s\tframeretries %d\n", indent, nla_get_s8(tb_msg[NL802154_ATTR_MAX_FRAME_RETRIES]));
if (tb_msg[NL802154_ATTR_MIN_BE])
--
2.2.2
next prev parent reply other threads:[~2015-01-20 10:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 10:35 [PATCH wpan-tools 1/2] treewide: shorten commands Alexander Aring
2015-01-20 10:35 ` Alexander Aring [this message]
2015-01-20 11:05 ` Stefan Schmidt
2015-01-20 11:32 ` Alexander Aring
2015-01-20 11:47 ` Alexander Aring
2015-01-20 14:43 ` Stefan Schmidt
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=1421750140-24760-2-git-send-email-alex.aring@gmail.com \
--to=alex.aring@gmail.com \
--cc=linux-wpan@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.