Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290695
b: refs/heads/master
c: a39fb22
h: refs/heads/master
i:
  290693: 4be9f1d
  290691: bc7d397
  290687: 9abc20e
v: v3
  • Loading branch information
Pavel Roskin authored and John W. Linville committed Feb 27, 2012
1 parent d9f560d commit 6ca7b75
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4e3c3b88a9c743cb9ddd65eb1cdd15ade25abfb4
refs/heads/master: a39fb224b49c5aebb40c4d5c9d6ccf3a951053ee
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/ath/ath9k/rc.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,8 @@ static u8 ath_rc_setvalid_rates(struct ath_rate_priv *ath_rc_priv,

static u8 ath_rc_setvalid_htrates(struct ath_rate_priv *ath_rc_priv,
const struct ath_rate_table *rate_table,
u8 *mcs_set, u32 capflag)
struct ath_rateset *rateset, u32 capflag)
{
struct ath_rateset *rateset = (struct ath_rateset *)mcs_set;

u8 i, j, hi = 0;

/* Use intersection of working rates and valid rates */
Expand Down Expand Up @@ -1212,7 +1210,7 @@ static void ath_rc_init(struct ath_softc *sc,
{
struct ath_rateset *rateset = &ath_rc_priv->neg_rates;
struct ath_common *common = ath9k_hw_common(sc->sc_ah);
u8 *ht_mcs = (u8 *)&ath_rc_priv->neg_ht_rates;
struct ath_rateset *ht_mcs = &ath_rc_priv->neg_ht_rates;
u8 i, j, k, hi = 0, hthi = 0;

/* Initial rate table size. Will change depending
Expand Down

0 comments on commit 6ca7b75

Please sign in to comment.