cassini: fix off by one
authorDan Carpenter <error27@gmail.com>
Tue, 2 Mar 2010 22:22:41 +0000 (22:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Mar 2010 09:04:39 +0000 (01:04 -0800)
commitbf829370a8d664d87a61697c8a0d6d780c336aa4
tree6a5fcc203c816112dbddbd680ea981cec25c5963
parentd4612cb86ed8db8956b6b19435f8a30de6c67ffe
cassini: fix off by one

There are only 6 link_modes.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cassini.c