Re: [PATCHv2 wpan-tools 1/2] interface: remove twice phy information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 20/01/15 21:02, Alexander Aring wrote:
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@xxxxxxxxx>
---
  src/interface.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/src/interface.c b/src/interface.c
index 095753b..904b96e 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\twpan_phy %d\n", indent,
nla_get_u32(tb_msg[NL802154_ATTR_WPAN_PHY]));
  	if (tb_msg[NL802154_ATTR_MAX_FRAME_RETRIES])
  		printf("%s\tmax_frame_retries %d\n", indent,
nla_get_s8(tb_msg[NL802154_ATTR_MAX_FRAME_RETRIES]));
  	if (tb_msg[NL802154_ATTR_MIN_BE])


Reviewed-by: Stefan Schmidt <s.schmidt@xxxxxxxxxxx>

regards
Stefan Schmidt


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



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux