diff options
author | Jahnavi Meher <jahnavi.meher@gmail.com> | 2014-06-16 18:10:55 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-19 23:49:21 +0400 |
commit | aabd3ad41a00651fa7c81c3bcb9a7138cf1bb224 (patch) | |
tree | 01272fc2011dafae18ddc2acea2a5cc10cce82a7 | |
parent | 19d2e619e75459291ad053ab3e1a97619ae0704e (diff) | |
download | linux-aabd3ad41a00651fa7c81c3bcb9a7138cf1bb224.tar.xz |
rsi: Using band from rsi_common to fill in ieee80211_rx_status
Filling in band from common->band.
Signed-off-by: Jahnavi Meher <jahnavi.meher@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/rsi/rsi_91x_mac80211.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_mac80211.c b/drivers/net/wireless/rsi/rsi_91x_mac80211.c index a1bdea126151..45bdb9953755 100644 --- a/drivers/net/wireless/rsi/rsi_91x_mac80211.c +++ b/drivers/net/wireless/rsi/rsi_91x_mac80211.c @@ -770,10 +770,7 @@ static void rsi_fill_rx_status(struct ieee80211_hw *hw, rxs->signal = -(rssi); - if (channel <= 14) - rxs->band = IEEE80211_BAND_2GHZ; - else - rxs->band = IEEE80211_BAND_5GHZ; + rxs->band = common->band; freq = ieee80211_channel_to_frequency(channel, rxs->band); |