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 Make debug code compile.
details: https://anonhg.NetBSD.org/src-all/rev/516d60d90554
branches: trunk
changeset: 378025:516d60d90554
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Tue Sep 20 18:28:12 2022 +0200
description:
Make debug code compile.
diffstat:
sys/dev/pci/if_iwn.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 48baf60c9f53 -r 516d60d90554 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Mon Aug 15 17:45:30 2022 +0200
+++ b/sys/dev/pci/if_iwn.c Tue Sep 20 18:28:12 2022 +0200
@@ -845,7 +845,7 @@ iwn_vap_delete(struct ieee80211vap *vap)
{
struct iwn_vap *my_vap = (struct iwn_vap *)vap;
- DPRINTFN(DBG_FN, ("%s: %s\n", device_xname(sc->sc_dev), __func__));
+ DPRINTFN(DBG_FN, ("%s: %s\n", vap->iv_ifp->if_xname, __func__));
ieee80211_vap_detach(vap);
kmem_free(my_vap, sizeof(*my_vap));
@@ -997,7 +997,7 @@ iwn_vap_create(struct ieee80211com *ic,
{
struct iwn_vap *vap;
- DPRINTFN(DBG_FN, ("%s: %s\n", device_xname(sc->sc_dev), __func__));
+ DPRINTFN(DBG_FN, ("%s: %s\n", ic->ic_name, __func__));
/* Allow only one VAP for the iwn driver. */
if (!TAILQ_EMPTY(&ic->ic_vaps))
Home |
Main Index |
Thread Index |
Old Index