Return-path: Received: from mail-pb0-f44.google.com ([209.85.160.44]:60021 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751188AbaFPOLG (ORCPT ); Mon, 16 Jun 2014 10:11:06 -0400 Received: by mail-pb0-f44.google.com with SMTP id md12so3688308pbc.17 for ; Mon, 16 Jun 2014 07:11:05 -0700 (PDT) Received: from localhost.localdomain ([115.248.87.14]) by mx.google.com with ESMTPSA id xd11sm4536312pac.8.2014.06.16.07.11.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 16 Jun 2014 07:11:05 -0700 (PDT) From: Jahnavi Meher To: Subject: [PATCH v2 03/16] rsi: Using band from rsi_common to fill in ieee80211_rx_status Date: Mon, 16 Jun 2014 19:40:55 +0530 Message-Id: <1402927855-3830-1-git-send-email-jahnavi.meher@gmail.com> (sfid-20140616_161110_577766_24B9BE45) Sender: linux-wireless-owner@vger.kernel.org List-ID: Filling in band from common->band. Signed-off-by: Jahnavi Meher --- 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 a1bdea1..45bdb99 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); -- 1.7.1