Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214621
b: refs/heads/master
c: 27eafdd
h: refs/heads/master
i:
  214619: 1e9235f
v: v3
  • Loading branch information
Johannes Berg authored and Wey-Yi Guy committed Sep 11, 2010
1 parent babd69d commit b76822e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e6ebf4befa75ebdf28130d0135f3ad3aadc02f8
refs/heads/master: 27eafdda7714d5b189c175e71ab22c72c90ba93e
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ static int iwlagn_set_pan_params(struct iwl_priv *priv)
slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) *
ctx_pan->vif->bss_conf.beacon_int;
slot1 = max_t(int, 100, slot1);

if (test_bit(STATUS_SCAN_HW, &priv->status)) {
slot0 = slot1 * 3 - 20;
slot1 = 20;
}
}

cmd.slots[0].width = cpu_to_le16(slot0);
Expand Down

0 comments on commit b76822e

Please sign in to comment.