On Tue, 2010-05-11 at 17:39 +0900, Bruno Randolf wrote: > + [NL80211_ATTR_ANTENNA_TX] = { .type = NLA_U8 }, > + [NL80211_ATTR_ANTENNA_RX] = { .type = NLA_U8 }, > }; > + tx_ant = nla_get_u8(info->attrs[NL80211_ATTR_ANTENNA_TX]); > + rx_ant = nla_get_u8(info->attrs[NL80211_ATTR_ANTENNA_RX]); > + NLA_PUT_U32(msg, NL80211_ATTR_ANTENNA_TX, tx_ant); > + NLA_PUT_U32(msg, NL80211_ATTR_ANTENNA_RX, rx_ant); That isn't right. johannes -- 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