mlx4_core: fix bug in modify_cq wrapper for resize flow.
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 7 Mar 2012 05:56:35 +0000 (05:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2012 08:28:01 +0000 (00:28 -0800)
The actual FW command is called in procedure "handle_resize".
Code incorrectly invoked the FW command again (in good flow), in
the modify_cq wrapper function.

Fix by skipping second FW invocation unconditionally for resize.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found