Changeset e71c023 in mainline for uspace/lib/ieee80211/src/ieee80211.c
- Timestamp:
- 2018-08-03T16:56:31Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 02246b8
- Parents:
- 3767bdb
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-03 16:32:18)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-03 16:56:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ieee80211/src/ieee80211.c
r3767bdb re71c023 571 571 /* Init crypto data. */ 572 572 bool add_mic = false; 573 const size_t max_head_space = max(IEEE80211_TKIP_HEADER_LENGTH, 574 IEEE80211_CCMP_HEADER_LENGTH); 573 575 size_t head_space = 0, mic_space = 0; 574 576 uint16_t crypto = 0; 575 uint8_t head_data[ head_space];576 memset(head_data, 0, head_space);577 uint8_t head_data[max_head_space]; 578 memset(head_data, 0, max_head_space); 577 579 578 580 // TODO: Distinguish used key (pair/group) by dest address ?
Note:
See TracChangeset
for help on using the changeset viewer.