Commit aabd3ad4 authored by Jahnavi Meher's avatar Jahnavi Meher Committed by John W. Linville

rsi: Using band from rsi_common to fill in ieee80211_rx_status

Filling in band from common->band.
Signed-off-by: default avatarJahnavi Meher <jahnavi.meher@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 19d2e619
...@@ -770,10 +770,7 @@ static void rsi_fill_rx_status(struct ieee80211_hw *hw, ...@@ -770,10 +770,7 @@ static void rsi_fill_rx_status(struct ieee80211_hw *hw,
rxs->signal = -(rssi); rxs->signal = -(rssi);
if (channel <= 14) rxs->band = common->band;
rxs->band = IEEE80211_BAND_2GHZ;
else
rxs->band = IEEE80211_BAND_5GHZ;
freq = ieee80211_channel_to_frequency(channel, rxs->band); freq = ieee80211_channel_to_frequency(channel, rxs->band);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment