Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89881
b: refs/heads/master
c: f2a3c7f
h: refs/heads/master
i:
  89879: bc6b8cc
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Feb 29, 2008
1 parent 04855b1 commit bcb3d84
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f5507ce90be4e00a84b5bb4c7b4324455aa6ee21
refs/heads/master: f2a3c7f5c8e3c1356dbbce1e9ac2e7f4d5365ba9
5 changes: 1 addition & 4 deletions trunk/drivers/net/wireless/rt2x00/rt2x00dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,10 +827,7 @@ static void rt2x00lib_channel(struct ieee80211_channel *entry,
const int channel, const int tx_power,
const int value)
{
if (channel <= 14)
entry->center_freq = 2407 + (5 * channel);
else
entry->center_freq = 5000 + (5 * channel);
entry->center_freq = ieee80211_channel_to_frequency(channel);
entry->hw_value = value;
entry->max_power = tx_power;
entry->max_antenna_gain = 0xff;
Expand Down

0 comments on commit bcb3d84

Please sign in to comment.