airo: copying wrong data in airo_get_aplist()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 Jun 2012 07:48:14 +0000 (10:48 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jun 2012 18:56:26 +0000 (14:56 -0400)
commitebe0fec849582ae0ebb1a4a7de61a09b4e841e00
treeb4498e7b597da942afc77a907655034f25f7e433
parentb8020af9bb5d55fa6dd5041d7b997b4f45c8bd79
airo: copying wrong data in airo_get_aplist()

"qual" used to be declared on the stack, but then in 287b86da11 ("airo:
reduce stack memory footprint") we made it dynamically allocated.
Unfortunately the memcpy() here was missed and it's still copying stack
memory instead of the data that we want.  In other words, "&qual" should
be "qual".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c