summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl1251/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl1251/rx.c')
-rw-r--r--drivers/net/wireless/wl1251/rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl1251/rx.c b/drivers/net/wireless/wl1251/rx.c
index efa53607d5c9..86eef456d7b2 100644
--- a/drivers/net/wireless/wl1251/rx.c
+++ b/drivers/net/wireless/wl1251/rx.c
@@ -78,7 +78,8 @@ static void wl1251_rx_status(struct wl1251 *wl,
*/
wl->noise = desc->rssi - desc->snr / 2;
- status->freq = ieee80211_channel_to_frequency(desc->channel);
+ status->freq = ieee80211_channel_to_frequency(desc->channel,
+ status->band);
status->flag |= RX_FLAG_TSFT;