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 variable type.



details:   https://anonhg.NetBSD.org/src-all/rev/0efe4c312cc0
branches:  trunk
changeset: 939938:0efe4c312cc0
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 03 22:25:53 2020 +1000

description:
Fix variable type.

diffstat:

 sys/dev/pci/if_iwm.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r eb87ce3c0ea9 -r 0efe4c312cc0 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 03 22:15:30 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 03 22:25:53 2020 +1000
@@ -6603,7 +6603,7 @@
 {
        struct ieee80211com *ic = vap->iv_ic;
        struct iwm_softc *sc = ic->ic_softc;
-       struct iwm_node *in = (struct iwm_node *)vap->iv_bss;
+       struct ieee80211_node *in = vap->iv_bss;
        struct iwm_sf_cfg_cmd sf_cmd = {
                .state = htole32(IWM_SF_FULL_ON),
        };



Home | Main Index | Thread Index | Old Index