pass up a RADIO_NOACK to the MAC layer.
This commit is contained in:
parent
8fc8dfe656
commit
a8f9119ace
2 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,7 @@ enum {
|
|||
RADIO_TX_OK,
|
||||
RADIO_TX_ERR,
|
||||
RADIO_TX_COLLISION,
|
||||
RADIO_TX_NOACK,
|
||||
};
|
||||
|
||||
#endif /* __RADIO_H__ */
|
||||
|
|
|
@ -171,6 +171,9 @@ send_packet(mac_callback_t sent, void *ptr)
|
|||
case RADIO_TX_COLLISION:
|
||||
ret = MAC_TX_COLLISION;
|
||||
break;
|
||||
case RADIO_TX_NOACK:
|
||||
ret = MAC_TX_NOACK;
|
||||
break;
|
||||
default:
|
||||
ret = MAC_TX_ERR;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue