wlcore: move ps change handling to .bss_info_changed()
authorEliad Peller <eliad@wizery.com>
Mon, 26 Nov 2012 16:05:47 +0000 (18:05 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 4 Dec 2012 14:36:08 +0000 (16:36 +0200)
commit518b680a8eb3ef953c80c9ef1bd6502e107b36fb
tree0472520e419dff304e1e9e9cc35a8ececaea9e21
parent873d2a403462b3b495603c0a9a39bd857575aa82
wlcore: move ps change handling to .bss_info_changed()

Adapt the new mac80211 BSS_CHANGED_PS notification,
and do the ps handling in mac80211's per-vif
callback (.bss_info_changed), rather than in
the per-device (.config) callback.

Make sure to configure it only after association.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c