airo: Track APList_rid in struct airo_info
authorOndrej Zary <linux@rainbow-software.org>
Fri, 16 Oct 2015 19:04:13 +0000 (21:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Oct 2015 18:54:35 +0000 (20:54 +0200)
commitf675f93a797a18fc1f82030d56d02286039d0fb3
tree87fe5b6f98d61acbb63b799563006f3e16bb02db
parentb3bcb1b27203c24fbf181748cec6eec10419678d
airo: Track APList_rid in struct airo_info

Instead of dynamically allocating APList, make it a member of struct
airo_info to always track state of APList_rid.
This simplifies suspend/resume and allows removal of readAPListRid.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/airo.c