@@ -250,7 +250,7 @@ static const char *p_mlme_short_names[] = {
250
250
"TVWS PHY Operating Mode Description IE" , /* 0x2b */
251
251
"TVWS Device Capabilities IE" , /* 0x2c */
252
252
"TVWS Device Category IE" , /* 0x2d */
253
- "TVWS Device Identiication IE" , /* 0x2e */
253
+ "TVWS Device Identification IE" , /* 0x2e */
254
254
"TVWS Device Location IE" , /* 0x2f */
255
255
"TVWS Channel Information Query IE" , /* 0x30 */
256
256
"TVWS Channel Information Source IE" , /* 0x31 */
@@ -418,7 +418,7 @@ static const char *mac_c_names[] = {
418
418
#define FC_ADDRESSING_MODE_LONG 0x03
419
419
420
420
/*
421
- * IEEE 802.15.4 CRC 16 function. This is using CCITT polynomical of 0x1021,
421
+ * IEEE 802.15.4 CRC 16 function. This is using the CCITT polynomial of 0x1021,
422
422
* but the initial value is 0, and the bits are reversed for both in and out.
423
423
* See section 7.2.10 of 802.15.4-2015 for more information.
424
424
*/
@@ -470,7 +470,7 @@ ieee802_15_4_reverse32(uint32_t x)
470
470
}
471
471
472
472
/*
473
- * IEEE 802.15.4 CRC 32 function. This is using ANSI X3.66-1979 polynomical of
473
+ * IEEE 802.15.4 CRC 32 function. This is using the ANSI X3.66-1979 polynomial of
474
474
* 0x04C11DB7, but the initial value is 0, and the bits are reversed for both
475
475
* in and out. See section 7.2.10 of 802.15.4-2015 for more information.
476
476
*/
@@ -1303,7 +1303,7 @@ ieee802_15_4_print_mlme_ie_list(netdissect_options *ndo,
1303
1303
}
1304
1304
1305
1305
/*
1306
- * Multiplexd IE (802.15.9) parsing and printing.
1306
+ * Multiplexed IE (802.15.9) parsing and printing.
1307
1307
*
1308
1308
* Returns number of bytes consumed from packet or -1 in case of error.
1309
1309
*/
@@ -1664,7 +1664,7 @@ ieee802_15_4_print_command_data(netdissect_options *ndo,
1664
1664
return caplen ;
1665
1665
}
1666
1666
break ;
1667
- case 0x03 : /* Diassociation Notification command */
1667
+ case 0x03 : /* Disassociation Notification command */
1668
1668
if (caplen != 1 ) {
1669
1669
ND_PRINT ("Invalid Disassociation Notification command length" );
1670
1670
return -1 ;
@@ -2038,19 +2038,19 @@ ieee802_15_4_std_frames(netdissect_options *ndo,
2038
2038
}
2039
2039
2040
2040
switch (security_level ) {
2041
- case 0 : /*FALLTHOUGH */
2041
+ case 0 : /*FALLTHROUGH */
2042
2042
case 4 :
2043
2043
miclen = 0 ;
2044
2044
break ;
2045
- case 1 : /*FALLTHOUGH */
2045
+ case 1 : /*FALLTHROUGH */
2046
2046
case 5 :
2047
2047
miclen = 4 ;
2048
2048
break ;
2049
- case 2 : /*FALLTHOUGH */
2049
+ case 2 : /*FALLTHROUGH */
2050
2050
case 6 :
2051
2051
miclen = 8 ;
2052
2052
break ;
2053
- case 3 : /*FALLTHOUGH */
2053
+ case 3 : /*FALLTHROUGH */
2054
2054
case 7 :
2055
2055
miclen = 16 ;
2056
2056
break ;
@@ -2360,19 +2360,19 @@ ieee802_15_4_mp_frame(netdissect_options *ndo,
2360
2360
}
2361
2361
2362
2362
switch (security_level ) {
2363
- case 0 : /*FALLTHOUGH */
2363
+ case 0 : /*FALLTHROUGH */
2364
2364
case 4 :
2365
2365
miclen = 0 ;
2366
2366
break ;
2367
- case 1 : /*FALLTHOUGH */
2367
+ case 1 : /*FALLTHROUGH */
2368
2368
case 5 :
2369
2369
miclen = 4 ;
2370
2370
break ;
2371
- case 2 : /*FALLTHOUGH */
2371
+ case 2 : /*FALLTHROUGH */
2372
2372
case 6 :
2373
2373
miclen = 8 ;
2374
2374
break ;
2375
- case 3 : /*FALLTHOUGH */
2375
+ case 3 : /*FALLTHROUGH */
2376
2376
case 7 :
2377
2377
miclen = 16 ;
2378
2378
break ;
0 commit comments