Search Linux Wireless

Re: [PATCH 2/2] iw: Add antenna configuration commands

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

 



On Tue July 27 2010 19:04:21 Johannes Berg wrote:
> On Tue, 2010-07-27 at 18:49 +0900, Bruno Randolf wrote:
> > +	if (tb_msg[NL80211_ATTR_WIPHY_ANTENNA_TX] &&
> > +	    tb_msg[NL80211_ATTR_WIPHY_ANTENNA_RX]) {
> > +		printf("\tAntenna: TX %d RX %d\n",
> > +		       nla_get_u8(tb_msg[NL80211_ATTR_WIPHY_ANTENNA_TX]),
> > +		       nla_get_u8(tb_msg[NL80211_ATTR_WIPHY_ANTENNA_RX]));
> 
> That's like the worst possible way to show the info.

which way would you prefer?

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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux