rsi: Using band from rsi_common to fill in ieee80211_rx_status
PATCH v2 3/16 rsi: Using band from rsi_common to fill in ieee80211_rx_status
Filling in band from common->band.
Signed-off-by Jahnavi Meher <[email protected]>
--- drivers/net/wireless/rsi/rsi_91x_mac80211.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
drivers/net/wireless/rsi/rsi_91x_mac80211.c +1 -4
@@ -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);
Signature · 1 line
1.7.1