diff mbox series

[1/3] hwsim: add ADD/DEL_MAC_ADDR events

Message ID 20230628202033.2320994-2-prestwoj@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series Handle DEL/ADD_MAC_ADDR events | expand

Checks

Context Check Description
tedd_an/pre-ci_am fail error: patch failed: tools/hwsim.c:62 error: tools/hwsim.c: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch

Commit Message

James Prestwood June 28, 2023, 8:20 p.m. UTC
These events are important to support both moving radios to other
namespaces, and to allow scan address randomization to work.
---
 tools/hwsim.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/tools/hwsim.c b/tools/hwsim.c
index 47352ad4..ecee0a0a 100644
--- a/tools/hwsim.c
+++ b/tools/hwsim.c
@@ -62,6 +62,8 @@  enum {
 	HWSIM_CMD_NEW_RADIO,
 	HWSIM_CMD_DEL_RADIO,
 	HWSIM_CMD_GET_RADIO,
+	HWSIM_CMD_ADD_MAC_ADDR,
+	HWSIM_CMD_DEL_MAC_ADDR,
 	__HWSIM_CMD_MAX,
 };
 #define HWSIM_CMD_MAX (__HWSIM_CMD_MAX - 1)