On Sat, 2013-12-21 at 20:14 +0100, Janusz Dziedzic wrote: > @@ -7474,6 +7475,9 @@ static int nl80211_set_tx_bitrate_mask(struct sk_buff *skb, > mask.control[band].vht_mcs)) > return -EINVAL; > } > + if (tb[NL80211_TXRATE_GI]) > + mask.control[band].gi = > + nla_get_u8(tb[NL80211_TXRATE_GI]); I think you need to sanity check the value, otherwise userspace can set it to 42 and things would get rather confusing in the kernel. 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