diff options
| author | Gal Pressman <[email protected]> | 2022-09-01 20:06:20 -0700 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-09-02 19:59:08 -0700 |
| commit | 8254393663f9b8cb8b84cdce1abb118833c22a54 (patch) | |
| tree | a825ece7983b8f9a436cdb0d4d6dea5a6da4e8d8 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | c3f760ef128789252e7c4f10d3c1721422dceba9 (diff) | |
net: ieee802154: Fix compilation error when CONFIG_IEEE802154_NL802154_EXPERIMENTAL is disabled
When CONFIG_IEEE802154_NL802154_EXPERIMENTAL is disabled,
NL802154_CMD_DEL_SEC_LEVEL is undefined and results in a compilation
error:
net/ieee802154/nl802154.c:2503:19: error: 'NL802154_CMD_DEL_SEC_LEVEL' undeclared here (not in a function); did you mean 'NL802154_CMD_SET_CCA_ED_LEVEL'?
2503 | .resv_start_op = NL802154_CMD_DEL_SEC_LEVEL + 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| NL802154_CMD_SET_CCA_ED_LEVEL
Unhide the experimental commands, having them defined in an enum
makes no difference.
Fixes: 9c5d03d36251 ("genetlink: start to validate reserved header bytes")
Signed-off-by: Gal Pressman <[email protected]>
Acked-by: Stefan Schmidt <[email protected]>
Tested-by: Sudip Mukherjee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions