aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorRoland Vossen <rvossen@broadcom.com>2011-03-10 08:40:17 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 14:45:13 -0400
commitd4b977bd4875e852c98f0423eab43d35f1e84874 (patch)
treeb25ffc1961db56e9c67749f11961fe64d5a4f585 /drivers/staging
parent9ee63c6a9f122688ea05b977ffa894dd60bf99eb (diff)
staging: brcm80211: removed comment in rx status processing
Code cleanup. The comment is hinting that we should sanity check the header to verify that if it claims its from a 5Ghz channel, that the chip actually supports 5 Ghz. This is redundant (2.4G only chips do not report 5G channels) and thus the comment was removed. Signed-off-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/brcm80211/brcmsmac/wlc_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/brcmsmac/wlc_main.c b/drivers/staging/brcm80211/brcmsmac/wlc_main.c
index 785357047d2..38330e7f36c 100644
--- a/drivers/staging/brcm80211/brcmsmac/wlc_main.c
+++ b/drivers/staging/brcm80211/brcmsmac/wlc_main.c
@@ -6847,7 +6847,6 @@ prep_mac80211_status(struct wlc_info *wlc, d11rxhdr_t *rxh, struct sk_buff *p,
6847 6847
6848 channel = WLC_CHAN_CHANNEL(rxh->RxChan); 6848 channel = WLC_CHAN_CHANNEL(rxh->RxChan);
6849 6849
6850 /* XXX Channel/badn needs to be filtered against whether we are single/dual band card */
6851 if (channel > 14) { 6850 if (channel > 14) {
6852 rx_status->band = IEEE80211_BAND_5GHZ; 6851 rx_status->band = IEEE80211_BAND_5GHZ;
6853 rx_status->freq = ieee80211_ofdm_chan_to_freq( 6852 rx_status->freq = ieee80211_ofdm_chan_to_freq(