summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorMichael Buesch2009-04-26 11:27:33 +0200
committerJohn W. Linville2009-05-06 21:14:44 +0200
commit44e1b98f733e48bb781e4229120e1de5e0c9fdbb (patch)
treeea78354841cd6c6ea74e9005343b1119eca6f7be /drivers/xen
parentcfg80211: Remove unnecessary ksize() call (diff)
downloadkernel-qcow2-linux-44e1b98f733e48bb781e4229120e1de5e0c9fdbb.tar.gz
kernel-qcow2-linux-44e1b98f733e48bb781e4229120e1de5e0c9fdbb.tar.xz
kernel-qcow2-linux-44e1b98f733e48bb781e4229120e1de5e0c9fdbb.zip
cfg80211: Use the correct IE buffer pointer
If the IE buffer was allocated, the pub.information_elements pointer was also changed to the allocated space. So we must not assume anymore that the pointer points at the "found" tail. So if it was allocated previously, take the codebranch that grows the buffer size (if necessary) and put the data into the allocated buffer. Signed-off-by: Michael Buesch <mb@bu3sch.de> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions