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/b73c43a081c2
branches:  trunk
changeset: 952531:b73c43a081c2
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 e79a951d65ab -r b73c43a081c2 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