mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-09 14:24:15 +01:00
mpdu: Fix style
This commit is contained in:
parent
6a011f0d92
commit
61a44dd485
@ -46,7 +46,7 @@ static inline bool next_2bytes(const unsigned char *mpdu, int len,
|
|||||||
if (len < *offset + 2)
|
if (len < *offset + 2)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
*holder = L_LE16_TO_CPU(*((uint16_t *) mpdu+*offset));
|
*holder = L_LE16_TO_CPU(*((uint16_t *) mpdu + *offset));
|
||||||
*offset = *offset + 2;
|
*offset = *offset + 2;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -61,7 +61,7 @@ static inline bool next_data(const unsigned char *mpdu, int len,
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (i = 0; i < t_len; i++)
|
for (i = 0; i < t_len; i++)
|
||||||
holder[i] = mpdu[*offset+i];
|
holder[i] = mpdu[*offset + i];
|
||||||
|
|
||||||
*offset += t_len;
|
*offset += t_len;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user