Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290763
b: refs/heads/master
c: 02f1434
h: refs/heads/master
i:
  290761: 1ad3064
  290759: 0125aa6
v: v3
  • Loading branch information
Florian Fainelli authored and John W. Linville committed Feb 29, 2012
1 parent 412fb0f commit 28fdbae
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 659373d5152705b83283860364bfd4e2b1422f7a
refs/heads/master: 02f1434d4ed8197cefde6f6c4a8b2f502144cbb5
12 changes: 11 additions & 1 deletion trunk/drivers/net/wireless/zd1211rw/zd_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,19 @@ int zd_op_start(struct ieee80211_hw *hw)
r = set_mc_hash(mac);
if (r)
goto disable_int;

/* Wait after setting the multicast hash table and powering on
* the radio otherwise interface bring up will fail. This matches
* what the vendor driver did.
*/
msleep(10);

r = zd_chip_switch_radio_on(chip);
if (r < 0)
if (r < 0) {
dev_err(zd_chip_dev(chip),
"%s: failed to set radio on\n", __func__);
goto disable_int;
}
r = zd_chip_enable_rxtx(chip);
if (r < 0)
goto disable_radio;
Expand Down

0 comments on commit 28fdbae

Please sign in to comment.