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/10065d7fd1bc
branches:  trunk
changeset: 940946:10065d7fd1bc
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 7a14a1add82d -r 10065d7fd1bc 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