git: aa38b28dddec - main - add iwx_update_promisc()

From: Adrian Chadd <adrian_at_FreeBSD.org>
Date: Sun, 22 Nov 2026 19:56:34 UTC
The branch main has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=aa38b28dddec20e916b76fe0ca049e01f039cc77

commit aa38b28dddec20e916b76fe0ca049e01f039cc77
Author:     Idwer Vollering <vidwer+fbsdbugs@gmail.com>
AuthorDate: 2026-11-22 19:43:38 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-11-22 19:56:16 +0000

    add iwx_update_promisc()
    
    Reviewed by:    adrian
    Differential Revision:  https://reviews.freebsd.org/D61824
---
 sys/dev/iwx/if_iwx.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys/dev/iwx/if_iwx.c b/sys/dev/iwx/if_iwx.c
index 9034baec09a3..bd53004365ef 100644
--- a/sys/dev/iwx/if_iwx.c
+++ b/sys/dev/iwx/if_iwx.c
@@ -576,6 +576,7 @@ static int	iwx_intr(void *);
 #endif
 static void	iwx_intr_msix(void *);
 static int	iwx_preinit(struct iwx_softc *);
+static void	iwx_update_promisc(struct ieee80211com *);
 static void	iwx_attach_hook(void *);
 static const struct iwx_device_cfg *iwx_find_device_cfg(struct iwx_softc *);
 static int	iwx_probe(device_t);
@@ -10114,6 +10115,11 @@ iwx_preinit(struct iwx_softc *sc)
 	return 0;
 }
 
+static void
+iwx_update_promisc(struct ieee80211com *ic)
+{
+}
+
 static void
 iwx_attach_hook(void *self)
 {
@@ -10137,6 +10143,7 @@ iwx_attach_hook(void *self)
 	ic->ic_node_alloc = iwx_node_alloc;
 	ic->ic_scan_start = iwx_scan_start;
 	ic->ic_scan_end = iwx_scan_end;
+	ic->ic_update_promisc = iwx_update_promisc;
 	ic->ic_update_mcast = iwx_update_mcast;
 	ic->ic_getradiocaps = iwx_init_channel_map;