diff options
author | Roland Vossen <rvossen@broadcom.com> | 2010-12-24 14:17:40 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-20 23:20:33 (GMT) |
commit | 1b1d36b6e8df93b1ddba81c6b72f0c22be6ed4ef (patch) | |
tree | 854a1f1ed8d0fd2305167fd4e2e1ba8643742876 /drivers/staging/brcm80211/sys/wlc_mac80211.c | |
parent | a44d42367fe73e7720d309c4bde5ac79a6cd64a7 (diff) | |
download | linux-fsl-qoriq-1b1d36b6e8df93b1ddba81c6b72f0c22be6ed4ef.tar.xz |
staging: brcm80211: replaced 2.4Ghz specific wf_channel2mhz()
2.4 Ghz code cleanup related. Replaced broadcom specific function with Linux
function ieee80211_dsss_chan_to_freq().
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/sys/wlc_mac80211.c')
-rw-r--r-- | drivers/staging/brcm80211/sys/wlc_mac80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c index 11b267d..4853286 100644 --- a/drivers/staging/brcm80211/sys/wlc_mac80211.c +++ b/drivers/staging/brcm80211/sys/wlc_mac80211.c @@ -6840,7 +6840,7 @@ prep_mac80211_status(struct wlc_info *wlc, d11rxhdr_t *rxh, struct sk_buff *p, rx_status->freq = wf_channel2mhz(channel, WF_CHAN_FACTOR_5_G); } else { rx_status->band = IEEE80211_BAND_2GHZ; - rx_status->freq = wf_channel2mhz(channel, WF_CHAN_FACTOR_2_4_G); + rx_status->freq = ieee80211_dsss_chan_to_freq(channel); } rx_status->signal = wlc_rxh->rssi; /* signal */ |