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)
commit7f59ebb5f34380696d16094fa1090485ec077fb1
treeb4498e7b597da942afc77a907655034f25f7e433
parent73dc3b90232780462f3771901024a160559b4532
airo: copying wrong data in airo_get_aplist()

"qual" used to be declared on the stack, but then in 998a5a7d6a ("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