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/b9e8fb65bcc5
branches:  trunk
changeset: 988470:b9e8fb65bcc5
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 7d2545a9ee9c -r b9e8fb65bcc5 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