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/20c67fed0e0a
branches: trunk
changeset: 375805:20c67fed0e0a
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 f5a12e500044 -r 20c67fed0e0a 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