Set wlvif->ps_compl to NULL in before return
authorPontus Fuchs <pontus.fuchs@gmail.com>
Wed, 14 Dec 2011 13:32:23 +0000 (14:32 +0100)
committerLuciano Coelho <coelho@ti.com>
Thu, 15 Dec 2011 08:19:46 +0000 (10:19 +0200)
commitef1870673dc3b66d8daec2b1fd1048992440e0e5
tree463837f42daf80362b222aa363f5600cde5c6d73
parent7f74484a460f6bb8656725babf2e977e47a3dab4
Set wlvif->ps_compl to NULL in before return

wl1271_configure_suspend_sta leaves a stale stack declared
completion in wlvif->ps_compl. Set it to NULL before returning.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
[small fix to use wlvif->ps_compl instead of wl->ps_compl]
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c