wireless/ieee802154: add missinf FAR

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-05-17 23:09:06 +03:00 committed by Xiang Xiao
parent 8d565fc0e3
commit 521b92a5db

View file

@ -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
@ -1438,11 +1438,11 @@ static void mac802154_rxdataframe(FAR struct ieee802154_privmac_s *priv,
****************************************************************************/ ****************************************************************************/
static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv, static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
FAR struct ieee802154_data_ind_s *ind) FAR struct ieee802154_data_ind_s *ind)
{ {
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 */