Hostap: copying wrong data prism2_ioctl_giwaplist()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Aug 2013 09:52:31 +0000 (12:52 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Aug 2013 18:01:21 +0000 (14:01 -0400)
commit909bd5926d474e275599094acad986af79671ac9
tree0b835315a3adb9468e09d505652a7352bea01fbb
parent1206ff4ff9d2ef7468a355328bc58ac6ebf5be44
Hostap: copying wrong data prism2_ioctl_giwaplist()

We want the data stored in "addr" and "qual", but the extra ampersands
mean we are copying stack data instead.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_ioctl.c