Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66798
b: refs/heads/master
c: 63fddb9
h: refs/heads/master
v: v3
  • Loading branch information
Zhu Yi authored and David S. Miller committed Oct 10, 2007
1 parent 43ad6fb commit a906a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: c14c521e440a6a83835a2879a4c5f4311b1df68f
refs/heads/master: 63fddb9f7f65b41277043344ae0d24dbbb451ada
6 changes: 1 addition & 5 deletions trunk/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1776,10 +1776,9 @@ static void *rs_alloc_sta(void *priv, gfp_t gfp)

if (crl == NULL)
return NULL;

memset(crl, 0, sizeof(struct iwl_rate_scale_priv));
crl->lq.sta_id = 0xff;


for (j = 0; j < LQ_SIZE; j++)
for (i = 0; i < IWL_RATE_COUNT; i++)
rs_rate_scale_clear_window(&(crl->lq_info[j].win[i]));
Expand All @@ -1796,9 +1795,6 @@ static void rs_rate_init(void *priv_rate, void *priv_sta,
struct iwl_priv *priv = (struct iwl_priv *)priv_rate;
struct iwl_rate_scale_priv *crl = priv_sta;

memset(crl, 0, sizeof(struct iwl_rate_scale_priv));

crl->lq.sta_id = 0xff;
crl->flush_timer = 0;
sta->txrate = 3;
for (j = 0; j < LQ_SIZE; j++)
Expand Down

0 comments on commit a906a28

Please sign in to comment.