> On Tue, 2013-09-17 at 12:31 -0700, Chet Lanctot wrote: >> Needed for drivers that have AP SME integrated. Whether PMF (Protected >> Management Frames, 802.11w) should be used for station connections >> is communicated from upper layer software through nl80211/cfg80211. > > This is a bit unclear, what's expected of the driver? > Johannes, Thank you for your feedback. I will expand the commit text to make it clearer that is expected of the driver. > >> + 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; >> + > > checkpatch. > > 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