From: Fred Zhou Date: Tue, 24 Sep 2013 02:33:01 +0000 (+0800) Subject: mac80211: use exact-size allocation for authentication frame X-Git-Tag: v3.13-rc1~105^2~181^2^2~38^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15e230abaaa5a79feb25d1ef29b380e8b63aea0c;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed