Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 15e230ab authored by Fred Zhou's avatar Fred Zhou Committed by Johannes Berg
Browse files

mac80211: use exact-size allocation for authentication frame



The authentication frame has a fixied size of 30 bytes
(including header, algo num, trans seq num, and status)
followed by a variable challenge text.
Allocate using exact size, instead of over-allocation
by sizeof(ieee80211_mgmt).

Signed-off-by: default avatarFred Zhou <fred.zy@gmail.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent f0823475
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment