diff options
author | Jouni Malinen <jouni@codeaurora.org> | 2018-10-10 23:21:20 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-11 16:01:07 +0200 |
commit | 8d7432a2f53bc283148062955cbe7ffbf713e646 (patch) | |
tree | 06432be630d4760f823c9fd6375539aa93822c84 /net/mac80211/ieee80211_i.h | |
parent | mac80211: Helper function for marking STA authenticated (diff) | |
download | linux-8d7432a2f53bc283148062955cbe7ffbf713e646.tar.xz linux-8d7432a2f53bc283148062955cbe7ffbf713e646.zip |
mac80211: Move ieee80211_mgd_auth() EBUSY check to be before allocation
This makes it easier to conditionally replace full allocation of
auth_data to use reallocation for the case of continuing SAE
authentication. Furthermore, there was not really any point in having
this check done so late in the function after having already completed
number of steps that cannot be used anyway in the error case.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
0 files changed, 0 insertions, 0 deletions