Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236764
b: refs/heads/master
c: 0810569
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Jan 21, 2011
1 parent 4efa8f9 commit 8cf4356
Show file tree
Hide file tree
Showing 2 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: 90c02d72ffbec3804f48c517ecfc72f9440a67b3
refs/heads/master: 0810569076c1f3cf4a82da40211dd0b07b3ad07e
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/ath/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ static bool ath5k_is_standard_channel(short chan)
}

static unsigned int
ath5k_copy_channels(struct ath5k_hw *ah,
ath5k_setup_channels(struct ath5k_hw *ah,
struct ieee80211_channel *channels,
unsigned int mode,
unsigned int max)
Expand Down Expand Up @@ -357,7 +357,7 @@ ath5k_setup_bands(struct ieee80211_hw *hw)
sband->n_bitrates = 12;

sband->channels = sc->channels;
sband->n_channels = ath5k_copy_channels(ah, sband->channels,
sband->n_channels = ath5k_setup_channels(ah, sband->channels,
AR5K_MODE_11G, max_c);

hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband;
Expand All @@ -383,7 +383,7 @@ ath5k_setup_bands(struct ieee80211_hw *hw)
}

sband->channels = sc->channels;
sband->n_channels = ath5k_copy_channels(ah, sband->channels,
sband->n_channels = ath5k_setup_channels(ah, sband->channels,
AR5K_MODE_11B, max_c);

hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband;
Expand All @@ -403,7 +403,7 @@ ath5k_setup_bands(struct ieee80211_hw *hw)
sband->n_bitrates = 8;

sband->channels = &sc->channels[count_c];
sband->n_channels = ath5k_copy_channels(ah, sband->channels,
sband->n_channels = ath5k_setup_channels(ah, sband->channels,
AR5K_MODE_11A, max_c);

hw->wiphy->bands[IEEE80211_BAND_5GHZ] = sband;
Expand Down

0 comments on commit 8cf4356

Please sign in to comment.