Message ID | 20170116030339.GA32218@makrotopia.org (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index 5058494d6c27..ff653f0d43d2 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -7899,7 +7899,10 @@ int rt2800_probe_hw(struct rt2x00_dev *rt2x00dev) if (rt2x00_rt(rt2x00dev, RT3593)) __set_bit(RT2800_HAS_HIGH_SHARED_MEM, &drv_data->rt2800_flags); - drv_data->hw_beacon_count = 8; + if (rt2x00_rt(rt2x00dev, RT3593)) + drv_data->hw_beacon_count = 16; + else + drv_data->hw_beacon_count = 8; /* * Allocate eeprom data.