pass up a RADIO_NOACK to the MAC layer.

This commit is contained in:
Mariano Alvira 2011-02-22 10:57:29 -08:00
parent 8fc8dfe656
commit a8f9119ace
2 changed files with 4 additions and 0 deletions

View File

@ -96,6 +96,7 @@ enum {
RADIO_TX_OK,
RADIO_TX_ERR,
RADIO_TX_COLLISION,
RADIO_TX_NOACK,
};
#endif /* __RADIO_H__ */

View File

@ -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;