mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
wireless/ieee802154: Removes ieee802154.h and makes other minor changes
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
#include <nuttx/spi/spi.h>
|
||||
|
||||
#include <nuttx/wireless/ieee802154/at86rf23x.h>
|
||||
#include <nuttx/wireless/ieee802154/ieee802154.h>
|
||||
|
||||
#include <nuttx/wireless/ieee802154/ieee802154_radio.h>
|
||||
|
||||
#include "at86rf23x.h"
|
||||
|
||||
@@ -1099,7 +1099,7 @@ static int mrf24j40_transmit(FAR struct ieee802154_radio_s *ieee,
|
||||
hlen += 2 + 8; /* Destination PAN + extaddr */
|
||||
}
|
||||
|
||||
if (!(frame_ctrl & IEEE802154_FRAMECTRL_INTRA))
|
||||
if (!(frame_ctrl & IEEE802154_FRAMECTRL_PANIDCOMP))
|
||||
{
|
||||
hlen += 2; /* No PAN compression, source PAN is different from dest PAN */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user