Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121659
b: refs/heads/master
c: 0df6cbb
h: refs/heads/master
i:
  121657: 12796da
  121655: 2fca4b1
v: v3
  • Loading branch information
Andrey Borzenkov authored and John W. Linville committed Oct 31, 2008
1 parent 963b042 commit 43c4714
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 4c674c60bd567597f1224973712b352f4f474890
refs/heads/master: 0df6cbb7d8a0a8fea69138e9e463671a8ad99f16
11 changes: 5 additions & 6 deletions trunk/drivers/net/wireless/orinoco.c
Original file line number Diff line number Diff line change
Expand Up @@ -2300,6 +2300,11 @@ int orinoco_reinit_firmware(struct net_device *dev)
int err;

err = hermes_init(hw);
if (priv->do_fw_download && !err) {
err = orinoco_download(priv);
if (err)
priv->do_fw_download = 0;
}
if (!err)
err = orinoco_allocate_fid(dev);

Expand Down Expand Up @@ -2925,12 +2930,6 @@ static void orinoco_reset(struct work_struct *work)
}
}

if (priv->do_fw_download) {
err = orinoco_download(priv);
if (err)
priv->do_fw_download = 0;
}

err = orinoco_reinit_firmware(dev);
if (err) {
printk(KERN_ERR "%s: orinoco_reset: Error %d re-initializing firmware\n",
Expand Down

0 comments on commit 43c4714

Please sign in to comment.