mac80211: fix ie memory allocation for scheduled scans
authorLuciano Coelho <coelho@ti.com>
Thu, 7 Jul 2011 12:18:27 +0000 (15:18 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Jul 2011 17:06:08 +0000 (13:06 -0400)
commit1186980dafcd14d0e257a4dd6990cefdc6f3e362
tree7c896a4440ec281f7d8dc82adfd79bd7cf8475f4
parent6ae8ec27868bfdbb815287bee8146acbefaee867
mac80211: fix ie memory allocation for scheduled scans

We were not allocating memory for the IEs passed in the scheduled_scan
request and this was causing memory corruption (buffer overflow).

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/scan.c