mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers: drop NETOPT_RX_END_IRQ
This commit is contained in:
parent
2384c864e2
commit
9ea5e58774
@ -302,7 +302,6 @@ static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
|
||||
return sizeof(netopt_enable_t);
|
||||
|
||||
case NETOPT_RX_START_IRQ:
|
||||
case NETOPT_RX_END_IRQ:
|
||||
case NETOPT_TX_START_IRQ:
|
||||
case NETOPT_TX_END_IRQ:
|
||||
*((netopt_enable_t *)val) = NETOPT_ENABLE;
|
||||
|
@ -351,7 +351,6 @@ static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
|
||||
break;
|
||||
|
||||
case NETOPT_RX_START_IRQ:
|
||||
case NETOPT_RX_END_IRQ:
|
||||
case NETOPT_TX_START_IRQ:
|
||||
case NETOPT_TX_END_IRQ:
|
||||
*((netopt_enable_t *)val) = NETOPT_ENABLE;
|
||||
|
@ -217,7 +217,6 @@ static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
|
||||
return opt_state(val, (dev->options & CC2420_OPT_PROMISCUOUS));
|
||||
|
||||
case NETOPT_RX_START_IRQ:
|
||||
case NETOPT_RX_END_IRQ:
|
||||
case NETOPT_TX_START_IRQ:
|
||||
case NETOPT_TX_END_IRQ:
|
||||
*((netopt_enable_t *)val) = NETOPT_ENABLE;
|
||||
|
@ -302,7 +302,6 @@ int _get(netdev_t *netdev, netopt_t opt, void *value, size_t len)
|
||||
return sizeof(netopt_enable_t);
|
||||
|
||||
case NETOPT_RX_START_IRQ:
|
||||
case NETOPT_RX_END_IRQ:
|
||||
case NETOPT_TX_START_IRQ:
|
||||
case NETOPT_TX_END_IRQ:
|
||||
*((netopt_enable_t *)value) = NETOPT_ENABLE;
|
||||
|
@ -473,7 +473,6 @@ int kw41zrf_netdev_get(netdev_t *netdev, netopt_t opt, void *value, size_t len)
|
||||
return sizeof(netopt_enable_t);
|
||||
|
||||
case NETOPT_RX_START_IRQ:
|
||||
case NETOPT_RX_END_IRQ:
|
||||
case NETOPT_TX_START_IRQ:
|
||||
case NETOPT_TX_END_IRQ:
|
||||
assert(len >= sizeof(netopt_enable_t));
|
||||
|
@ -237,7 +237,6 @@ static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
|
||||
break;
|
||||
|
||||
case NETOPT_RX_START_IRQ:
|
||||
case NETOPT_RX_END_IRQ:
|
||||
case NETOPT_TX_START_IRQ:
|
||||
case NETOPT_TX_END_IRQ:
|
||||
*((netopt_enable_t *)val) = NETOPT_ENABLE;
|
||||
|
Loading…
Reference in New Issue
Block a user