diff options
Diffstat (limited to 'drivers/net/wireless/cisco/airo.c')
| -rw-r--r-- | drivers/net/wireless/cisco/airo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c index d2353f6e5214..4bd9e2b97e86 100644 --- a/drivers/net/wireless/cisco/airo.c +++ b/drivers/net/wireless/cisco/airo.c | |||
| @@ -5836,7 +5836,7 @@ static int airo_get_freq(struct net_device *dev, | |||
| 5836 | ch = le16_to_cpu(status_rid.channel); | 5836 | ch = le16_to_cpu(status_rid.channel); |
| 5837 | if((ch > 0) && (ch < 15)) { | 5837 | if((ch > 0) && (ch < 15)) { |
| 5838 | fwrq->m = 100000 * | 5838 | fwrq->m = 100000 * |
| 5839 | ieee80211_channel_to_frequency(ch, IEEE80211_BAND_2GHZ); | 5839 | ieee80211_channel_to_frequency(ch, NL80211_BAND_2GHZ); |
| 5840 | fwrq->e = 1; | 5840 | fwrq->e = 1; |
| 5841 | } else { | 5841 | } else { |
| 5842 | fwrq->m = ch; | 5842 | fwrq->m = ch; |
| @@ -6894,7 +6894,7 @@ static int airo_get_range(struct net_device *dev, | |||
| 6894 | for(i = 0; i < 14; i++) { | 6894 | for(i = 0; i < 14; i++) { |
| 6895 | range->freq[k].i = i + 1; /* List index */ | 6895 | range->freq[k].i = i + 1; /* List index */ |
| 6896 | range->freq[k].m = 100000 * | 6896 | range->freq[k].m = 100000 * |
| 6897 | ieee80211_channel_to_frequency(i + 1, IEEE80211_BAND_2GHZ); | 6897 | ieee80211_channel_to_frequency(i + 1, NL80211_BAND_2GHZ); |
| 6898 | range->freq[k++].e = 1; /* Values in MHz -> * 10^5 * 10 */ | 6898 | range->freq[k++].e = 1; /* Values in MHz -> * 10^5 * 10 */ |
| 6899 | } | 6899 | } |
| 6900 | range->num_frequency = k; | 6900 | range->num_frequency = k; |
| @@ -7302,7 +7302,7 @@ static inline char *airo_translate_scan(struct net_device *dev, | |||
| 7302 | iwe.cmd = SIOCGIWFREQ; | 7302 | iwe.cmd = SIOCGIWFREQ; |
| 7303 | iwe.u.freq.m = le16_to_cpu(bss->dsChannel); | 7303 | iwe.u.freq.m = le16_to_cpu(bss->dsChannel); |
| 7304 | iwe.u.freq.m = 100000 * | 7304 | iwe.u.freq.m = 100000 * |
| 7305 | ieee80211_channel_to_frequency(iwe.u.freq.m, IEEE80211_BAND_2GHZ); | 7305 | ieee80211_channel_to_frequency(iwe.u.freq.m, NL80211_BAND_2GHZ); |
| 7306 | iwe.u.freq.e = 1; | 7306 | iwe.u.freq.e = 1; |
| 7307 | current_ev = iwe_stream_add_event(info, current_ev, end_buf, | 7307 | current_ev = iwe_stream_add_event(info, current_ev, end_buf, |
| 7308 | &iwe, IW_EV_FREQ_LEN); | 7308 | &iwe, IW_EV_FREQ_LEN); |
