mac80211: Adjust SAE authentication timeout
authorIlan Peer <ilan.peer@intel.com>
Fri, 20 Apr 2018 10:49:20 +0000 (13:49 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 7 May 2018 14:04:02 +0000 (16:04 +0200)
commit407879b690ba3a6bf29be896d02dad63463bd1c0
tree473bcb5c490a3bc16a3108c43b2881cd8d040edb
parentd1361b32e6aec7440c01d5c8fcc54189930a342d
mac80211: Adjust SAE authentication timeout

The IEEE P802.11-REVmd D1.0 specification updated the SAE authentication
timeout to be 2000 milliseconds (see dot11RSNASAERetransPeriod). Update
the SAE timeout setting accordingly.

While at it, reduce some code duplication in the timeout configuration.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c