wlan:Fix incorrect processing of encrypted auth frame

qcacld-3.0 to qcacld-2.0 propagation.

Fix incorrect processing of encrypted auth frame by allocating
appropriate local buffer and using correct type for frame length.

Issue: SEC-873
Change-Id: Ia737f3102e2990b51f292ba1f5eedd9847895daf
CRs-Fixed: 2082544
Signed-off-by: Gururaj Patil <gururaj.patil3@harman.com>
1 file changed