diff options
Diffstat (limited to 'drivers/net/wireless/adm8211.c')
-rw-r--r-- | drivers/net/wireless/adm8211.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c index d93a1de77eb0..7af5d8851f67 100644 --- a/drivers/net/wireless/adm8211.c +++ b/drivers/net/wireless/adm8211.c | |||
@@ -445,9 +445,9 @@ static void adm8211_interrupt_rci(struct ieee80211_hw *dev) | |||
445 | struct ieee80211_rx_status rx_status = {0}; | 445 | struct ieee80211_rx_status rx_status = {0}; |
446 | 446 | ||
447 | if (priv->pdev->revision < ADM8211_REV_CA) | 447 | if (priv->pdev->revision < ADM8211_REV_CA) |
448 | rx_status.ssi = rssi; | 448 | rx_status.signal = rssi; |
449 | else | 449 | else |
450 | rx_status.ssi = 100 - rssi; | 450 | rx_status.signal = 100 - rssi; |
451 | 451 | ||
452 | rx_status.rate_idx = rate; | 452 | rx_status.rate_idx = rate; |
453 | 453 | ||
@@ -1893,9 +1893,10 @@ static int __devinit adm8211_probe(struct pci_dev *pdev, | |||
1893 | 1893 | ||
1894 | dev->extra_tx_headroom = sizeof(struct adm8211_tx_hdr); | 1894 | dev->extra_tx_headroom = sizeof(struct adm8211_tx_hdr); |
1895 | /* dev->flags = IEEE80211_HW_RX_INCLUDES_FCS in promisc mode */ | 1895 | /* dev->flags = IEEE80211_HW_RX_INCLUDES_FCS in promisc mode */ |
1896 | dev->flags = IEEE80211_HW_SIGNAL_UNSPEC; | ||
1896 | 1897 | ||
1897 | dev->channel_change_time = 1000; | 1898 | dev->channel_change_time = 1000; |
1898 | dev->max_rssi = 100; /* FIXME: find better value */ | 1899 | dev->max_signal = 100; /* FIXME: find better value */ |
1899 | 1900 | ||
1900 | dev->queues = 1; /* ADM8211C supports more, maybe ADM8211B too */ | 1901 | dev->queues = 1; /* ADM8211C supports more, maybe ADM8211B too */ |
1901 | 1902 | ||