]> git.baikalelectronics.ru Git - kernel.git/commit
typhoon: wait for RX mode commands to finish
authorDavid Dillow <dave@thedillows.org>
Sun, 24 Oct 2010 10:20:20 +0000 (10:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2010 23:25:40 +0000 (16:25 -0700)
commitbfa58efee22307270ffc0ce4d00087836a583b37
treeab83e3b253ab7bff71a48e73947a0e8dc881b82a
parent7d422e58231976bd127b5812b1d7cc3c88bf02d1
typhoon: wait for RX mode commands to finish

When adding VLAN devices, we can get several calls to
typhoon_set_rx_mode() in quick succession. Because we didn't wait for
the commands to complete, we could run out of command descriptors and
fail to set the RX mode.

Signed-off-by: David Dillow <dave@thedillows.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/typhoon.c