]> git.baikalelectronics.ru Git - kernel.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)
commitaf42dc26989f016e78794aff9725c21474a9925d
tree8ea6c25cdd41480960089d287725ca2b9318a627
parentb5f61b6aa7405f93ecb4fb594b63ba84d7df8f6b
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