drivers: ieee80154_nrf5: Add support for promiscous mode
Implement `IEEE802154_CONFIG_PROMISCUOUS` handling. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
5f67e4d9df
commit
f8092789b7
1 changed files with 4 additions and 0 deletions
|
@ -490,6 +490,10 @@ int nrf5_configure(struct device *dev, enum ieee802154_config_type type,
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case IEEE802154_CONFIG_PROMISCUOUS:
|
||||||
|
nrf_802154_promiscuous_set(config->promiscuous);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue