mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Fix some typos
This commit is contained in:
committed by
Gregory Nutt
parent
8d87e624bf
commit
ebc6f51641
@@ -95,7 +95,7 @@ int mac802154_req_associate(MACHANDLE mac,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Get exlusive access to the operation sempaphore. This must happen before
|
||||
/* Get exclusive access to the operation semaphore. This must happen before
|
||||
* getting exclusive access to the MAC struct or else there could be a
|
||||
* lockup condition. This would occur if another thread is using the
|
||||
* cmdtrans but needs access to the MAC in order to unlock it.
|
||||
@@ -930,4 +930,4 @@ static void mac802154_extract_assocresp(FAR void *arg)
|
||||
|
||||
priv->radio->txdelayed(priv->radio, respdesc,
|
||||
(priv->resp_waittime*IEEE802154_BASE_SUPERFRAME_DURATION));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ int mac802154_req_poll(MACHANDLE mac, FAR struct ieee802154_poll_req_s *req)
|
||||
* CoordPANId and CoordAddress parameters.
|
||||
*/
|
||||
|
||||
/* Get exlusive access to the operation sempaphore. This must happen before
|
||||
/* Get exclusive access to the operation semaphore. This must happen before
|
||||
* getting exclusive access to the MAC struct or else there could be a lockup
|
||||
* condition. This would occur if another thread is using the cmdtrans but
|
||||
* needs access to the MAC in order to unlock it.
|
||||
@@ -288,4 +288,4 @@ void mac802154_polltimeout(FAR void *arg)
|
||||
|
||||
mac802154_notify(priv, primitive);
|
||||
mac802154_unlock(priv);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ int mac802154_req_rxenable(MACHANDLE mac,
|
||||
{
|
||||
if (req->rxon_dur > 0)
|
||||
{
|
||||
/* Get exlusive access to the operation sempaphore. This must
|
||||
/* Get exclusive access to the operation semaphore. This must
|
||||
* happen before getting exclusive access to the MAC struct or
|
||||
* else there could be a lockup condition. This would occur if
|
||||
* another thread is using the cmdtrans but needs access to the
|
||||
|
||||
Reference in New Issue
Block a user