On Tue, 2013-12-10 at 14:11 -0800, Chet Lanctot wrote: > + if (info->attrs[NL80211_ATTR_USE_MFP]) { > + params.mfp = nla_get_u32(info->attrs[NL80211_ATTR_USE_MFP]); > + if (params.mfp != NL80211_MFP_REQUIRED && > + params.mfp != NL80211_MFP_OPTIONAL && > + params.mfp != NL80211_MFP_NO) > + return -EINVAL; > + } else > + params.mfp = NL80211_MFP_NO; Code style. Wouldn't a feature flag be needed? 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