[SC92031]: Fix priv->lock context
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Apr 2007 18:51:15 +0000 (11:51 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Apr 2007 20:31:14 +0000 (13:31 -0700)
commit699784b7614ce61b16a075445b8e5b6c379c5086
treeb6eba3c51a434838c96b1de6114146485db72b71
parentbb8a954f27ed8fb8f57e80e6b63d837cfdcad689
[SC92031]: Fix priv->lock context

The spin_lock calls made in dev->open and dev->close must disable
BH since open/close are made in process context.  Conversely, the
call in dev->hard_start_xmit does not need to disable BH since it
is already executing with BH disabled.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sc92031.c