Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26585
b: refs/heads/master
c: 5b4b977
h: refs/heads/master
i:
  26583: d768eea
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed May 5, 2006
1 parent c815b0f commit e8db619
Show file tree
Hide file tree
Showing 2 changed files with 6 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: d57336e3f2dd7c2d1fbe4a8323029869fb6e1f00
refs/heads/master: 5b4b9775a00c20ade1b1ac8aa25e0e4059d6243e
7 changes: 5 additions & 2 deletions trunk/drivers/net/wireless/bcm43xx/bcm43xx_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,11 @@ static int bcm43xx_wx_set_mode(struct net_device *net_dev,
mode = BCM43xx_INITIAL_IWMODE;

bcm43xx_lock_mmio(bcm, flags);
if (bcm->ieee->iw_mode != mode)
bcm43xx_set_iwmode(bcm, mode);
if (bcm->initialized) {
if (bcm->ieee->iw_mode != mode)
bcm43xx_set_iwmode(bcm, mode);
} else
bcm->ieee->iw_mode = mode;
bcm43xx_unlock_mmio(bcm, flags);

return 0;
Expand Down

0 comments on commit e8db619

Please sign in to comment.