diff options
Diffstat (limited to 'drivers/net/wireless/rtl8187_dev.c')
-rw-r--r-- | drivers/net/wireless/rtl8187_dev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/rtl8187_dev.c b/drivers/net/wireless/rtl8187_dev.c index d5787b37e1fb..e14c84248686 100644 --- a/drivers/net/wireless/rtl8187_dev.c +++ b/drivers/net/wireless/rtl8187_dev.c | |||
@@ -261,8 +261,8 @@ static void rtl8187_rx_cb(struct urb *urb) | |||
261 | } | 261 | } |
262 | 262 | ||
263 | rx_status.antenna = (hdr->signal >> 7) & 1; | 263 | rx_status.antenna = (hdr->signal >> 7) & 1; |
264 | rx_status.signal = 64 - min(hdr->noise, (u8)64); | 264 | rx_status.qual = 64 - min(hdr->noise, (u8)64); |
265 | rx_status.ssi = signal; | 265 | rx_status.signal = signal; |
266 | rx_status.rate_idx = rate; | 266 | rx_status.rate_idx = rate; |
267 | rx_status.freq = dev->conf.channel->center_freq; | 267 | rx_status.freq = dev->conf.channel->center_freq; |
268 | rx_status.band = dev->conf.channel->band; | 268 | rx_status.band = dev->conf.channel->band; |
@@ -740,11 +740,11 @@ static int __devinit rtl8187_probe(struct usb_interface *intf, | |||
740 | 740 | ||
741 | priv->mode = IEEE80211_IF_TYPE_MNTR; | 741 | priv->mode = IEEE80211_IF_TYPE_MNTR; |
742 | dev->flags = IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | | 742 | dev->flags = IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | |
743 | IEEE80211_HW_RX_INCLUDES_FCS; | 743 | IEEE80211_HW_RX_INCLUDES_FCS | |
744 | IEEE80211_HW_SIGNAL_UNSPEC; | ||
744 | dev->extra_tx_headroom = sizeof(struct rtl8187_tx_hdr); | 745 | dev->extra_tx_headroom = sizeof(struct rtl8187_tx_hdr); |
745 | dev->queues = 1; | 746 | dev->queues = 1; |
746 | dev->max_rssi = 65; | 747 | dev->max_signal = 65; |
747 | dev->max_signal = 64; | ||
748 | 748 | ||
749 | eeprom.data = dev; | 749 | eeprom.data = dev; |
750 | eeprom.register_read = rtl8187_eeprom_register_read; | 750 | eeprom.register_read = rtl8187_eeprom_register_read; |