Search Linux Wireless

[PATCH] bcm43xx-d80211: update to new statistics reporting API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bcm43xx-d80211: update to new statistics reporting API

This patch updates bcm43xx-d80211 to the new statistics reporting API.

Signed-off-by: Michael Wu <flamingice@xxxxxxxxxxxx>
---

 drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c 
b/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
index 9f4d51d..054ea09 100644
--- a/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
@@ -3560,7 +3560,9 @@ static int bcm43xx_wireless_init(struct
 		    IEEE80211_HW_MONITOR_DURING_OPER |
 		    IEEE80211_HW_DEVICE_HIDES_WEP |
 		    IEEE80211_HW_WEP_INCLUDE_IV;
-	hw->maxssi = BCM43xx_RX_MAX_SSI;
+	hw->max_rssi = -110;
+	hw->max_signal = BCM43xx_RX_MAX_SSI;
+	hw->max_noise = -110;
 	hw->queues = 1;
 	hw->dev = &dev->dev;
 	if (is_valid_ether_addr(sprom->r1.et1mac)) {

Attachment: pgptWYwt1WTZ2.pgp
Description: PGP signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux