Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203523
b: refs/heads/master
c: f532be6
h: refs/heads/master
i:
  203521: 11ad5a4
  203519: d7b61be
v: v3
  • Loading branch information
Juuso Oikarinen authored and John W. Linville committed Jul 8, 2010
1 parent b33eeb6 commit f583938
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 9a547bf9a83ce7211d4290956d9fca8044a409de
refs/heads/master: f532be6d48a12cd1b27c4efa38d22e0cbfa512d1
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox)
if (vector & SOFT_GEMINI_SENSE_EVENT_ID &&
wl->bss_type == BSS_TYPE_STA_BSS) {
if (mbox->soft_gemini_sense_info)
ieee80211_disable_dyn_ps(wl->vif, true);
ieee80211_disable_dyn_ps(wl->vif);
else
ieee80211_disable_dyn_ps(wl->vif, false);
ieee80211_enable_dyn_ps(wl->vif);
}

/*
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ static void wl1271_op_remove_interface(struct ieee80211_hw *hw,

/* enable dyn ps just in case (if left on due to fw crash etc) */
if (wl->bss_type == BSS_TYPE_STA_BSS)
ieee80211_disable_dyn_ps(wl->vif, false);
ieee80211_enable_dyn_ps(wl->vif);

if (test_and_clear_bit(WL1271_FLAG_SCANNING, &wl->flags)) {
mutex_unlock(&wl->mutex);
Expand Down Expand Up @@ -1779,7 +1779,7 @@ static void wl1271_op_bss_info_changed(struct ieee80211_hw *hw,
wl->aid = 0;

/* re-enable dynamic ps - just in case */
ieee80211_disable_dyn_ps(wl->vif, false);
ieee80211_enable_dyn_ps(wl->vif);

/* revert back to minimum rates for the current band */
wl1271_set_band_rate(wl);
Expand Down

0 comments on commit f583938

Please sign in to comment.