I botched the logic used by a check in iwm_vht_single_rate_control().
ok?
diff 15b71cdf8530b1f64fb85d50873b1ff1fad3f0e8 /usr/src
blob - 2c01f718d47acb01a227795fef659ef353f5c7f6
file + sys/dev/pci/if_iwm.c
--- sys/dev/pci/if_iwm.c
+++ sys/dev/pci/if_iwm.c
@@ -5550,7 +5550,7 @@ iwm_vht_single_rate_control(struct iwm_softc *sc, stru
struct iwm_node *in = (void *)ni;
/* Ignore Tx reports which don't match our last LQ command. */
- if (txmcs != ni->ni_txmcs && nss != ni->ni_vht_ss) {
+ if (txmcs != ni->ni_txmcs || nss != ni->ni_vht_ss) {
if (++in->lq_rate_mismatch > 15) {
/* Try to sync firmware with the driver... */
iwm_setrates(in, 1);