mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
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>
This commit is contained in:
parent
19d2e619e7
commit
aabd3ad41a
1 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue