Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268710
b: refs/heads/master
c: 0f90d23
h: refs/heads/master
v: v3
  • Loading branch information
Alwin Beukers authored and Greg Kroah-Hartman committed Oct 5, 2011
1 parent 3ec25ba commit e3fdabb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 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: fa1b6ab7a5cea3ae0c0eed0704c47e7bfd6ac20c
refs/heads/master: 0f90d23cf4124616f9a42036b50ba5cc3724868c
12 changes: 4 additions & 8 deletions trunk/drivers/staging/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4186,12 +4186,10 @@ void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci,
*shm_entry++);
}

if (suspend)
if (suspend) {
brcms_c_suspend_mac_and_wait(wlc);

if (suspend)
brcms_c_enable_mac(wlc);

}
}

void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend)
Expand Down Expand Up @@ -4223,12 +4221,10 @@ void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend)
brcms_c_wme_setparams(wlc, aci, &txq_pars, suspend);
}

if (suspend)
if (suspend) {
brcms_c_suspend_mac_and_wait(wlc);

if (suspend)
brcms_c_enable_mac(wlc);

}
}

/* maintain LED behavior in down state */
Expand Down

0 comments on commit e3fdabb

Please sign in to comment.