Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
|
||||
|
||||
/**
|
||||
* If a beacon dissapears for longer than this, then we consider the
|
||||
* If a beacon disappears for longer than this, then we consider the
|
||||
* device who was represented by that beacon to be gone.
|
||||
*
|
||||
* ECMA-368[17.2.3, last para] establishes that a device must not
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
/* DRP Conflict Actions ([ECMA-368 2nd Edition] 17.4.6) */
|
||||
enum uwb_drp_conflict_action {
|
||||
/* Reservation is mantained, no action needed */
|
||||
/* Reservation is maintained, no action needed */
|
||||
UWB_DRP_CONFLICT_MANTAIN = 0,
|
||||
|
||||
/* the device shall not transmit frames in conflicting MASs in
|
||||
@@ -741,12 +741,12 @@ void uwb_drp_process_all(struct uwb_rc *rc, struct uwb_rc_evt_drp *drp_evt,
|
||||
* DRP notifications can occur for three different reasons:
|
||||
*
|
||||
* - UWB_DRP_NOTIF_DRP_IE_RECVD: one or more DRP IEs with the RC as
|
||||
* the target or source have been recieved.
|
||||
* the target or source have been received.
|
||||
*
|
||||
* These DRP IEs could be new or for an existing reservation.
|
||||
*
|
||||
* If the DRP IE for an existing reservation ceases to be to
|
||||
* recieved for at least mMaxLostBeacons, the reservation should be
|
||||
* received for at least mMaxLostBeacons, the reservation should be
|
||||
* considered to be terminated. Note that the TERMINATE reason (see
|
||||
* below) may not always be signalled (e.g., the remote device has
|
||||
* two or more reservations established with the RC).
|
||||
|
@@ -168,7 +168,7 @@ int uwb_rc_mac_addr_setup(struct uwb_rc *rc)
|
||||
}
|
||||
|
||||
if (uwb_mac_addr_unset(&addr) || uwb_mac_addr_bcast(&addr)) {
|
||||
addr.data[0] = 0x02; /* locally adminstered and unicast */
|
||||
addr.data[0] = 0x02; /* locally administered and unicast */
|
||||
get_random_bytes(&addr.data[1], sizeof(addr.data)-1);
|
||||
|
||||
result = uwb_rc_mac_addr_set(rc, &addr);
|
||||
|
@@ -52,7 +52,7 @@ const char *__strerror[] = {
|
||||
"cancelled",
|
||||
"invalid state",
|
||||
"invalid size",
|
||||
"ack not recieved",
|
||||
"ack not received",
|
||||
"no more asie notification",
|
||||
};
|
||||
|
||||
|
@@ -78,7 +78,7 @@ EXPORT_SYMBOL_GPL(umc_device_register);
|
||||
* First we unregister the device, make sure the driver can do it's
|
||||
* resource release thing and then we try to release any left over
|
||||
* resources. We take a ref to the device, to make sure it doesn't
|
||||
* dissapear under our feet.
|
||||
* disappear under our feet.
|
||||
*/
|
||||
void umc_device_unregister(struct umc_dev *umc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user