On Fri, Sep 2, 2022 at 4:06 AM Jakub Kicinski <kuba@xxxxxxxxxx> wrote: > > From: Gal Pressman <gal@xxxxxxxxxx> > > 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 <gal@xxxxxxxxxx> > Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> Fixes the build for me. Tested-by: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx> -- Regards Sudip