Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299992
b: refs/heads/master
c: dbdedbd
h: refs/heads/master
v: v3
  • Loading branch information
Seth Forshee authored and John W. Linville committed Apr 27, 2012
1 parent 16bc504 commit a2bf27b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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: 1ed2ec37b44e86eaa8e0a03b908a39c80f65ee45
refs/heads/master: dbdedbdf4fbff3d4962a0786f37aa86dfdc48a7e
10 changes: 8 additions & 2 deletions trunk/drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4827,8 +4827,14 @@ static int b43_op_start(struct ieee80211_hw *hw)
out_mutex_unlock:
mutex_unlock(&wl->mutex);

/* reload configuration */
b43_op_config(hw, ~0);
/*
* Configuration may have been overwritten during initialization.
* Reload the configuration, but only if initialization was
* successful. Reloading the configuration after a failed init
* may hang the system.
*/
if (!err)
b43_op_config(hw, ~0);

return err;
}
Expand Down

0 comments on commit a2bf27b

Please sign in to comment.