aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-02-14 14:50:32 +0100
committerStefan Schmidt <[email protected]>2023-02-18 16:41:23 +0100
commit1edecbd0bd45c9c899e0f82b123342f28423468c (patch)
treeb4e5d1fcc32bf75b28216074bd3c981bb5b872a3 /lib/netdev-notifier-error-inject.c
parenta0b6106672b53158bf141d1a713aef2c891d74b1 (diff)
ieee802154: Change error code on monitor scan netlink request
Returning EPERM gives the impression that "right now" it is not possible, but "later" it could be, while what we want to express is the fact that this is not currently supported at all (might change in the future). So let's return EOPNOTSUPP instead. Fixes: ed3557c947e1 ("ieee802154: Add support for user scanning requests") Suggested-by: Alexander Aring <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions