mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
wireless/ieee802154: add missinf FAR
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
8d565fc0e3
commit
521b92a5db
@@ -1056,7 +1056,7 @@ static void mac802154_rxframe_worker(FAR void *arg)
|
|||||||
(FAR struct ieee802154_privmac_s *)arg;
|
(FAR struct ieee802154_privmac_s *)arg;
|
||||||
FAR struct ieee802154_data_ind_s *ind;
|
FAR struct ieee802154_data_ind_s *ind;
|
||||||
FAR struct iob_s *iob;
|
FAR struct iob_s *iob;
|
||||||
uint16_t *frame_ctrl;
|
FAR uint16_t *frame_ctrl;
|
||||||
bool panid_comp;
|
bool panid_comp;
|
||||||
uint8_t ftype;
|
uint8_t ftype;
|
||||||
|
|
||||||
@@ -1094,7 +1094,7 @@ static void mac802154_rxframe_worker(FAR void *arg)
|
|||||||
* the frame control field
|
* the frame control field
|
||||||
*/
|
*/
|
||||||
|
|
||||||
frame_ctrl = (uint16_t *)&iob->io_data[iob->io_offset];
|
frame_ctrl = (FAR uint16_t *)&iob->io_data[iob->io_offset];
|
||||||
iob->io_offset += 2;
|
iob->io_offset += 2;
|
||||||
|
|
||||||
/* We use the data_ind_s as a container for the frame information even
|
/* We use the data_ind_s as a container for the frame information even
|
||||||
@@ -1442,7 +1442,7 @@ static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
|
|||||||
{
|
{
|
||||||
FAR struct ieee802154_txdesc_s *txdesc;
|
FAR struct ieee802154_txdesc_s *txdesc;
|
||||||
FAR struct iob_s *iob;
|
FAR struct iob_s *iob;
|
||||||
uint16_t *frame_ctrl;
|
FAR uint16_t *frame_ctrl;
|
||||||
|
|
||||||
/* Get exclusive access to the MAC */
|
/* Get exclusive access to the MAC */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user