3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 03:32:42 +01:00

wiphy: Update ext_features size

This commit is contained in:
Denis Kenzior 2018-05-01 20:45:32 -05:00
parent 92cf0446a1
commit b8c80060d3

View File

@ -54,7 +54,7 @@ struct wiphy {
uint32_t id; uint32_t id;
char name[20]; char name[20];
uint32_t feature_flags; uint32_t feature_flags;
uint8_t ext_features[2]; uint8_t ext_features[(NUM_NL80211_EXT_FEATURES + 7) / 8];
bool support_scheduled_scan:1; bool support_scheduled_scan:1;
bool support_rekey_offload:1; bool support_rekey_offload:1;
uint16_t supported_ciphers; uint16_t supported_ciphers;