cfg80211: fix truncated IEs
commitc0f0aac05fa84b37ed46db8cf6c8bee9a67bbcca
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 30 Apr 2009 18:09:56 +0000 (30 20:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 May 2009 20:22:10 +0000 (4 16:22 -0400)
treec0748d3ba37d5d1666c5d7eaa91cc7af6a10acbe
parent8ccd8f21122dcc30a665516d43aa8b4aa8ae51f6
cfg80211: fix truncated IEs

Another bug in the "cfg80211: do not replace BSS structs" patch,
a forgotten length update leads to bogus data being stored and
passed to userspace, often truncated.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/scan.c