ath5k: don't reset mcast filter when configuring the mode
PATCH 1/3 ath5k: don't reset mcast filter when configuring the mode
We should not zero out the multicast hash when configuring the operating mode, since a zero value means all multicast frames will get dropped. Also, ath5k_mode_setup() gets called after any reset, so the hash already set up in configure_filter() is lost.
--- drivers/net/wireless/ath/ath5k/base.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/ath5k/base.c +0 -1
@@ -1146,7 +1146,6 @@ ath5k_mode_setup(struct ath5k_softc *sc)/* configure operational mode */ ath5k_hw_set_opmode (ah); -ath5k_hw_set_mcast_filter (ah,0 ,0 );ATH5K_DBG (sc,ATH5K_DEBUG_MODE ,"RX filter 0x%x\n" , rfilt); }
Signature · 1 line
1.6.2.5
PATCH 2/3 ath5k: add LED support for HP Compaq CQ60
Add GPIO configuration for the Compaq CQ60 laptop
--- drivers/net/wireless/ath/ath5k/led.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath5k/led.c +2 -0
@@ -71,6 +71,8 @@ static const struct pci_device_id ath5k_led_devices[] = { { ATH_SDEVICE(PCI_VENDOR_ID_AZWAVE, 0x1026), ATH_LED(3, 0) },/* IBM ThinkPad AR5BXB6 (legovini at spiro.fisica.unipd.it) */ { ATH_SDEVICE(PCI_VENDOR_ID_IBM, 0x058a), ATH_LED(1, 0) }, +/* HP Compaq CQ60-206US (ddreggors at jumptv.com) */ + { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137a), ATH_LED(3, 1) },/* HP Compaq C700 (nitrousnrg at gmail.com) */ { ATH_SDEVICE(PCI_VENDOR_ID_HP, 0x0137b), ATH_LED(3, 1) },/* IBM-specific AR5212 (all others) */
Signature · 1 line
1.6.2.5
PATCH 3/3 ath5k: add LED definition for BenQ Joybook R55v
In reply to Bob CopelandSetup the GPIOs for the BenQ Joybook netbook.
--- drivers/net/wireless/ath/ath5k/led.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath5k/led.c +2 -0
@@ -65,6 +65,8 @@ static const struct pci_device_id ath5k_led_devices[] = { { ATH_SDEVICE(PCI_VENDOR_ID_AMBIT, 0x0422), ATH_LED(1, 1) },/* E-machines E510 (tuliom at gmail.com) */ { ATH_SDEVICE(PCI_VENDOR_ID_AMBIT, 0x0428), ATH_LED(3, 0) }, +/* BenQ Joybook R55v (nowymarluk at wp.pl) */ + { ATH_SDEVICE(PCI_VENDOR_ID_QMI, 0x0100), ATH_LED(1, 0) },/* Acer Extensa 5620z (nekoreeve at gmail.com) */ { ATH_SDEVICE(PCI_VENDOR_ID_QMI, 0x0105), ATH_LED(3, 0) },/* Fukato Datacask Jupiter 1014a (mrb74 at gmx.at) */
Signature · 1 line
1.6.2.5
Nick Kossifidis
maintainerPATCH 1/3 ath5k: don't reset mcast filter when configuring the mode
In reply to Bob Copeland2009/11/9 Bob Copeland <[email protected]>:
Quoted 16 lines
We should not zero out the multicast hash when configuring the operating mode, since a zero value means all multicast frames will get dropped. Also,
ath5k_mode_setup()gets called after any reset, so the hash already set up inconfigure_filter()is lost.Signed-off-by Bob Copeland <[email protected]>---
drivers/net/wireless/ath/ath5k/base.c | 1 -1 files changed, 0 insertions(+), 1 deletions(-)drivers/net/wireless/ath/ath5k/base.c +0
-0
drivers/net/wireless/ath/ath5k/base.c ath5k_mode_setup(struct ath5k_softc *sc) · line 1151
Quoted 7 lines
drivers/net/wireless/ath/ath5k/base.c +0
-1@@ -1146,7 +1146,6 @@ ath5k_mode_setup(struct ath5k_softc *sc) /* configure operational mode */ ath5k_hw_set_opmode(ah); - ath5k_hw_set_mcast_filter(ah, 0, 0); ATH5K_DBG(sc, ATH5K_DEBUG_MODE, "RX filter 0x%x\n", rfilt); }
Signature · 3 lines
GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick