diff options
| -rw-r--r-- | include/net/nl802154.h | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/include/net/nl802154.h b/include/net/nl802154.h index ddcee128f5d9..145acb8f2509 100644 --- a/include/net/nl802154.h +++ b/include/net/nl802154.h @@ -19,6 +19,8 @@   *   */ +#include <linux/types.h> +  #define NL802154_GENL_NAME "nl802154"  enum nl802154_commands { @@ -150,10 +152,9 @@ enum nl802154_attrs {  };  enum nl802154_iftype { -	/* for backwards compatibility TODO */ -	NL802154_IFTYPE_UNSPEC = -1, +	NL802154_IFTYPE_UNSPEC = (~(__u32)0), -	NL802154_IFTYPE_NODE, +	NL802154_IFTYPE_NODE = 0,  	NL802154_IFTYPE_MONITOR,  	NL802154_IFTYPE_COORD, |