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/91780b232902
branches:  trunk
changeset: 367022:91780b232902
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 ab261156addc -r 91780b232902 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 @@
                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 @@
 
        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