Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256193
b: refs/heads/master
c: 45a7713
h: refs/heads/master
i:
  256191: c23d2f5
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Jul 5, 2011
1 parent 2026681 commit e2af648
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb8b27ada953f8de182e628d71feff797707768a
refs/heads/master: 45a771385ceb644941b195f37ab98f7db39776bd
7 changes: 6 additions & 1 deletion trunk/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,8 +932,8 @@ int rtl92de_hw_init(struct ieee80211_hw *hw)
RT_TRACE(rtlpriv, COMP_ERR, DBG_WARNING,
("Failed to download FW. Init HW "
"without FW..\n"));
err = 1;
rtlhal->fw_ready = false;
return 1;
} else {
rtlhal->fw_ready = true;
}
Expand Down Expand Up @@ -1044,6 +1044,11 @@ int rtl92de_hw_init(struct ieee80211_hw *hw)
if (((tmp_rega & BIT(11)) == BIT(11)))
break;
}
/* check that loop was successful. If not, exit now */
if (i == 10000) {
rtlpci->init_ready = false;
return 1;
}
}
}
rtlpci->init_ready = true;
Expand Down

0 comments on commit e2af648

Please sign in to comment.