HomeFreeBSD

iwlwifi: adjust to make d3.c compile

Description

iwlwifi: adjust to make d3.c compile

struct iwl_mvm_wep_key_cmd ends in a variable sized array but later
is included in another struct followed by the actual
struct iwl_mvm_wep_key in d3.c. Make the array[0] instead of []
to avoid the warning about it being a GNU-extension.
Also include string.h explicitly for memset_after().

MFC after: 3 days
Reviewed by: cc
Differential Revision: https://reviews.freebsd.org/D43647

Details

Provenance
bzAuthored on Jan 29 2024, 2:23 PM
Reviewer
cc
Differential Revision
D43647: iwlwifi: adjust to make d3.c compile
Parents
rG2f029bf911e2: LinuxKPI: 802.11: extend ieee80211_key_seq and WLAN_KEY_LEN_* defines
Branches
Unknown
Tags
Unknown