wl12xx: make event handling support multirole
authorEliad Peller <eliad@wizery.com>
Mon, 10 Oct 2011 08:12:57 +0000 (10:12 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 12:04:23 +0000 (15:04 +0300)
commit4b730b6a814fe52425d90ff3db3d8deefb22fb24
tree32636d14ecfa0170f3299032692dc624394fee63
parenta4e4130dcea01f3e0dfcbfeaf0d815b971e6e515
wl12xx: make event handling support multirole

Some events don't indicate the role they are intended for.
In these cases, iterate through all the relevant vifs,
and pass the event to each one of them.

This is only a workaround. future fw releases should indicate
the relevant role_id for such events.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/event.c
drivers/net/wireless/wl12xx/wl12xx.h