commit | 15e230abaaa5a79feb25d1ef29b380e8b63aea0c | [log] [tgz] |
---|---|---|
author | Fred Zhou <fred.zy@gmail.com> | Tue Sep 24 10:33:01 2013 +0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Oct 01 12:20:38 2013 +0200 |
tree | 6960ab6a712d09c7c95f39355833c93cf42369fa | |
parent | f0823475d57a1ece4fe1eafb1aef5c4fa79361aa [diff] |
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: Fred Zhou <fred.zy@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>