mirror of https://gitee.com/openkylin/linux.git
p54: remove usage of deprecated noise value
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
699622a7b5
commit
0cbb3b5e8e
|
@ -350,7 +350,6 @@ static int p54_rx_data(struct p54_common *priv, struct sk_buff *skb)
|
|||
rx_status->flag |= RX_FLAG_MMIC_ERROR;
|
||||
|
||||
rx_status->signal = p54_rssi_to_dbm(priv, hdr->rssi);
|
||||
rx_status->noise = priv->noise;
|
||||
if (hdr->rate & 0x10)
|
||||
rx_status->flag |= RX_FLAG_SHORTPRE;
|
||||
if (priv->hw->conf.channel->band == IEEE80211_BAND_5GHZ)
|
||||
|
|
Loading…
Reference in New Issue