View | Details | Raw Unified | Return to bug 7969 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/net/tg3.c (+2 lines)
Lines 12048-12053 static int tg3_suspend(struct pci_dev *p Link Here
12048
	tp->tg3_flags &= ~TG3_FLAG_INIT_COMPLETE;
12048
	tp->tg3_flags &= ~TG3_FLAG_INIT_COMPLETE;
12049
	tg3_full_unlock(tp);
12049
	tg3_full_unlock(tp);
12050
12050
12051
	pci_save_state(pdev);
12052
12051
	err = tg3_set_power_state(tp, pci_choose_state(pdev, state));
12053
	err = tg3_set_power_state(tp, pci_choose_state(pdev, state));
12052
	if (err) {
12054
	if (err) {
12053
		tg3_full_lock(tp, 0);
12055
		tg3_full_lock(tp, 0);

Return to bug 7969