From b8c80060d3d529b7ba8a26017bf28a807739c65b Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 1 May 2018 20:45:32 -0500 Subject: [PATCH] wiphy: Update ext_features size --- src/wiphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiphy.c b/src/wiphy.c index ffa431e3..5b2df3b6 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -54,7 +54,7 @@ struct wiphy { uint32_t id; char name[20]; 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_rekey_offload:1; uint16_t supported_ciphers;