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)
commitf45437efff460aa033978180da88229c5fc68455
treedc74f6b039dd51aab0d5e4d9a66ae2178477a9eb
parent1765a575334f1a232c1478accdee5c7d19f4b3e3
tlan: Fix bugs introduced by the last tlan cleanup patch

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