Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Fix more variable naming botches.
details: https://anonhg.NetBSD.org/src-all/rev/5a304ca31ef8
branches: trunk
changeset: 375558:5a304ca31ef8
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Thu Sep 03 21:48:06 2020 +1000
description:
Fix more variable naming botches.
diffstat:
sys/dev/pci/if_iwm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 1dc161ee6524 -r 5a304ca31ef8 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Thu Sep 03 21:40:04 2020 +1000
+++ b/sys/dev/pci/if_iwm.c Thu Sep 03 21:48:06 2020 +1000
@@ -6364,7 +6364,7 @@ iwm_do_newstate(struct ieee80211vap *vap
break;
case IEEE80211_S_RUN:
- in = (struct iwm_node *)iv->iv_bss;
+ in = (struct iwm_node *)vap->iv_bss;
/* We have now been assigned an associd by the AP. */
err = iwm_mac_ctxt_cmd(sc, in, IWM_FW_CTXT_ACTION_MODIFY, 1);
@@ -7914,7 +7914,7 @@ iwm_preinit(struct iwm_softc *sc)
ieee80211_announce(ic);
- iwn_radiotap_attach(sc, vap->iv_ifp);
+ iwm_radiotap_attach(sc, vap->iv_ifp);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index