]> git.openfabrics.org - ~emulex/infiniband.git/commit
wlcore: wait for roc complete only for the first roc command
authorVictor Goldenshtein <victorg@ti.com>
Mon, 14 May 2012 13:07:38 +0000 (16:07 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 17:24:32 +0000 (20:24 +0300)
commita4203c6453afcd21b3a6f0be592bf74951e80c72
tree8ea6c25cdd41480960089d287725ca2b9318a627
parente832837bbb91ae8610fa0a0f3d243d42823ec815
wlcore: wait for roc complete only for the first roc command

In some multi role scenarios the driver might send multi
roc requests without sending a croc first, the fw queues
those requests and starts service the next roc request as
soon as the driver sends a croc for the previous one. So,
if the fw rocs on channel X and driver asks to roc also
on channel Y, the fw will not start service Y (and will
not send roc complete event for this request) until the
driver releases the fw with croc X.

Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/cmd.c