diff mbox series

[wpan-tools,v2,1/8] iwpan: Synchronize nl802154.h with the latest kernel

Message ID 20230106111831.692202-2-miquel.raynal@bootlin.com (mailing list archive)
State New, archived
Delegated to: Stefan Schmidt
Headers show
Series iwpan: Scan support | expand

Commit Message

Miquel Raynal Jan. 6, 2023, 11:18 a.m. UTC
The low-level security commands are now listed inconditionnally, so
let's reflect this change in the header so that the addition of further
commands is made at the right location.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 src/nl802154.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/src/nl802154.h b/src/nl802154.h
index ddcee12..eb8ad48 100644
--- a/src/nl802154.h
+++ b/src/nl802154.h
@@ -56,9 +56,6 @@  enum nl802154_commands {
 
 	NL802154_CMD_SET_WPAN_PHY_NETNS,
 
-	/* add new commands above here */
-
-#ifdef CONFIG_IEEE802154_NL802154_EXPERIMENTAL
 	NL802154_CMD_SET_SEC_PARAMS,
 	NL802154_CMD_GET_SEC_KEY,		/* can dump */
 	NL802154_CMD_NEW_SEC_KEY,
@@ -72,7 +69,8 @@  enum nl802154_commands {
 	NL802154_CMD_GET_SEC_LEVEL,		/* can dump */
 	NL802154_CMD_NEW_SEC_LEVEL,
 	NL802154_CMD_DEL_SEC_LEVEL,
-#endif /* CONFIG_IEEE802154_NL802154_EXPERIMENTAL */
+
+	/* add new commands above here */
 
 	/* used to define NL802154_CMD_MAX below */
 	__NL802154_CMD_AFTER_LAST,