Hostap: copying wrong data prism2_ioctl_giwaplist()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Aug 2013 09:52:31 +0000 (12:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2013 16:47:38 +0000 (09:47 -0700)
commit9e50b0dd45dd3a26edf83b3f78117a6765fbe8a2
tree842ca1f7875f92725ae89d0f3ccdd1459fc3504e
parent2650a684ca1c26831ecc552c269ffd7a8def3694
Hostap: copying wrong data prism2_ioctl_giwaplist()

commit 909bd5926d474e275599094acad986af79671ac9 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/hostap/hostap_ioctl.c