tlan: Fix bugs introduced by the last tlan cleanup patch
authorSakari Ailus <sakari.ailus@iki.fi>
Wed, 9 Feb 2011 10:25:06 +0000 (10:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Feb 2011 19:06:13 +0000 (11:06 -0800)
Fix two bugs introduced by the commit
c659c38b2796578638548b77ef626d93609ec8ac ("tlan: Code cleanup:
checkpatch.pl is relatively happy now.") In that change,
TLAN_CSTAT_READY was considered as a bit mask containing a single bit
set while it was actually had two set instead.

Many thanks to Dan Carpenter for finding the mistake.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tlan.c

Simple merge