diff options
author | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-21 21:36:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-21 21:36:59 -0500 |
commit | c5dd27337a70b34cc400120e70a80fcb84c4fd7a (patch) | |
tree | 5c41d10ecb9169b9c3dd31a9cdad6af3b6f974b2 /drivers | |
parent | 6af6e1efb161ffe36e718b1fd58385710879af7c (diff) | |
parent | 12862086f24d7382b24379bbcbe0dadf12ca5945 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
[TG3]: Add missing unlock in tg3_open() error path.
[IPV6]: Fix address/interface handling in UDP and DCCP, according to the scoping architecture.
[IRDA]: Lockdep fix.
[BLUETOOTH]: Fix unaligned access in hci_send_to_sock.
[XFRM]: nlmsg length not computed correctly in the presence of subpolicies
[XFRM]: Sub-policies broke policy events
[IGMP]: Fix IGMPV3_EXP() normalization bit shift value.
[Bluetooth] Ignore L2CAP config requests on disconnect
[Bluetooth] Always include MTU in L2CAP config responses
[Bluetooth] Check if RFCOMM session is still attached to the TTY
[Bluetooth] Handling pending connect attempts after inquiry
[Bluetooth] Attach low-level connections to the Bluetooth bus
[IPV6] IP6TUNNEL: Add missing nf_reset() on input path.
[IPV6] IP6TUNNEL: Delete all tunnel device when unloading module.
[IPV6] ROUTE: Do not enable router reachability probing in router mode.
[IPV6] ROUTE: Prefer reachable nexthop only if the caller requests.
[IPV6] ROUTE: Try to use router which is not known unreachable.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/tg3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 1dbdd6bb587b..c20bb998e0e5 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -6979,8 +6979,10 @@ static int tg3_open(struct net_device *dev) | |||
6979 | tg3_full_lock(tp, 0); | 6979 | tg3_full_lock(tp, 0); |
6980 | 6980 | ||
6981 | err = tg3_set_power_state(tp, PCI_D0); | 6981 | err = tg3_set_power_state(tp, PCI_D0); |
6982 | if (err) | 6982 | if (err) { |
6983 | tg3_full_unlock(tp); | ||
6983 | return err; | 6984 | return err; |
6985 | } | ||
6984 | 6986 | ||
6985 | tg3_disable_ints(tp); | 6987 | tg3_disable_ints(tp); |
6986 | tp->tg3_flags &= ~TG3_FLAG_INIT_COMPLETE; | 6988 | tp->tg3_flags &= ~TG3_FLAG_INIT_COMPLETE; |