Commit aece0c3f authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann

nl802154: move PAD to right position

The PAD define should be above the experimental support. We don't care
about if we break userspace in experimental stuff but PAD is part of the
existing UAPI.

Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Stefan Schmidt<stefan@osg.samsung.com>
Signed-off-by: default avatarAlexander Aring <aar@pengutronix.de>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 439e65d3
...@@ -124,6 +124,8 @@ enum nl802154_attrs { ...@@ -124,6 +124,8 @@ enum nl802154_attrs {
NL802154_ATTR_ACKREQ_DEFAULT, NL802154_ATTR_ACKREQ_DEFAULT,
NL802154_ATTR_PAD,
/* add attributes here, update the policy in nl802154.c */ /* add attributes here, update the policy in nl802154.c */
#ifdef CONFIG_IEEE802154_NL802154_EXPERIMENTAL #ifdef CONFIG_IEEE802154_NL802154_EXPERIMENTAL
...@@ -138,8 +140,6 @@ enum nl802154_attrs { ...@@ -138,8 +140,6 @@ enum nl802154_attrs {
NL802154_ATTR_SEC_KEY, NL802154_ATTR_SEC_KEY,
#endif /* CONFIG_IEEE802154_NL802154_EXPERIMENTAL */ #endif /* CONFIG_IEEE802154_NL802154_EXPERIMENTAL */
NL802154_ATTR_PAD,
__NL802154_ATTR_AFTER_LAST, __NL802154_ATTR_AFTER_LAST,
NL802154_ATTR_MAX = __NL802154_ATTR_AFTER_LAST - 1 NL802154_ATTR_MAX = __NL802154_ATTR_AFTER_LAST - 1
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment