mac80211: use proper sub_if_data on suspend path
authorJakub Kicinski <kubakici@wp.pl>
Thu, 23 Feb 2012 01:17:48 +0000 (02:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Feb 2012 19:06:40 +0000 (14:06 -0500)
commit9d88c7f6709aab0e4342d80fad6fb7d3f7efc7ff
treec9e46b2f5e9bc9c1661b2727f243e14e141a870a
parent682dd04b37bc6b36356adda31e5435da8a246499
mac80211: use proper sub_if_data on suspend path

Use interface data from sta instead of invalid pointer
to list head in calls to drv_sta_state.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/pm.c