bnx2x: fix vector traveling while looking for an empty entry
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 26 Mar 2012 21:08:55 +0000 (21:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Mar 2012 02:41:34 +0000 (22:41 -0400)
commitc54e9bd38a06babf94fd45e5f1df9a1109e12818
tree7f5beb0b30154920d6c513fc06f786f5e725699a
parent452427b015b1b0cbbef7b6207908726837d39d57
bnx2x: fix vector traveling while looking for an empty entry

Fixes the bug that may prevent from mac to be configured,
while there is an empty slot for it.

Reported-by: Maciej Żenczykowski <zenczykowski@gmail.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c