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/abbfe70fa42b
branches:  trunk
changeset: 371451:abbfe70fa42b
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 41e5f913c2f6 -r abbfe70fa42b 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