farsync: fix support for over 30 cards
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Oct 2012 21:20:48 +0000 (21:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Oct 2012 17:54:59 +0000 (13:54 -0400)
commit50fb47ae4d812d5eabc57539701dc0fd6404495e
treebd798b767f6fde897aedff220bf38ffb11137c86
parent1451ae6ef8bff77007338b2870bb3de2658afff8
farsync: fix support for over 30 cards

We're trying to fill a 64 bit bitmap but only the lower 30 shifts work
because the shift wraps around.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/farsync.c