cfg80211: Allow use_mfp to be specified with the connect command
The NL80211_ATTR_USE_MFP attribute was originally added for NL80211_CMD_ASSOCIATE, but it is actually as useful (if not even more useful) with NL80211_CMD_CONNECT, so process that attribute with the connect command, too. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
1c18f1452a
commit
cee00a959c
@@ -192,7 +192,8 @@ static int cfg80211_conn_do_work(struct wireless_dev *wdev)
|
||||
prev_bssid,
|
||||
params->ssid, params->ssid_len,
|
||||
params->ie, params->ie_len,
|
||||
false, ¶ms->crypto,
|
||||
params->mfp != NL80211_MFP_NO,
|
||||
¶ms->crypto,
|
||||
params->flags, ¶ms->ht_capa,
|
||||
¶ms->ht_capa_mask);
|
||||
if (err)
|
||||
|
Reference in New Issue
Block a user