Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377382
b: refs/heads/master
c: 541e667
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Jun 12, 2013
1 parent 8ec28d8 commit d87e95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 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: a8cf0194b7187fb65dfff28a1c5153d442e3836a
refs/heads/master: 541e667e1c0f31a7e11d909eb831cf476814a201
17 changes: 2 additions & 15 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3074,21 +3074,8 @@ static void brcms_b_antsel_set(struct brcms_hardware *wlc_hw, u32 antsel_avail)
*/
static bool brcms_c_ps_allowed(struct brcms_c_info *wlc)
{
/* disallow PS when one of the following global conditions meets */
if (!wlc->pub->associated)
return false;

/* disallow PS when one of these meets when not scanning */
if (wlc->filter_flags & FIF_PROMISC_IN_BSS)
return false;

if (wlc->bsscfg->type == BRCMS_TYPE_AP)
return false;

if (wlc->bsscfg->type == BRCMS_TYPE_ADHOC)
return false;

return true;
/* not supporting PS so always return false for now */
return false;
}

static void brcms_c_statsupd(struct brcms_c_info *wlc)
Expand Down

0 comments on commit d87e95a

Please sign in to comment.