Page MenuHomeFreeBSD

D48094.diff
No OneTemporary

D48094.diff

diff --git a/sys/dev/rtwn/rtl8192c/r92c_fw.c b/sys/dev/rtwn/rtl8192c/r92c_fw.c
--- a/sys/dev/rtwn/rtl8192c/r92c_fw.c
+++ b/sys/dev/rtwn/rtl8192c/r92c_fw.c
@@ -239,7 +239,12 @@
}
#endif
- rtwn_write_1(sc, R92C_INIDATA_RATE_SEL(macid), maxrate);
+ /*
+ * There's no need to set this if firmware rate control is
+ * enabled - the firmware will be controlling this per MACID.
+ */
+ if (sc->sc_ratectl != RTWN_RATECTL_FW)
+ rtwn_write_1(sc, R92C_INIDATA_RATE_SEL(macid), maxrate);
ieee80211_free_node(ni);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 27, 1:03 PM (19 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15653557
Default Alt Text
D48094.diff (519 B)

Event Timeline