projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fca2b8
)
cfg80211: initialize rekey_data
author
Sara Sharon
<sara.sharon@intel.com>
Sun, 29 Nov 2020 15:30:44 +0000
(17:30 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 4 Dec 2020 11:35:58 +0000
(12:35 +0100)
In case we have old supplicant, the akm field is uninitialized.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link:
https://lore.kernel.org/r/iwlwifi.20201129172929.930f0ab7ebee.Ic546e384efab3f4a89f318eafddc3eb7d556aecb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
patch
|
blob
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index a77174b99b07e8fbd863e50c159501e5d26e0224..f67ddf2cebcbe737364267bc2e1f21b2ba5dfdee 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-12634,7
+12634,7
@@
static int nl80211_set_rekey_data(struct sk_buff *skb, struct genl_info *info)
struct net_device *dev = info->user_ptr[1];
struct wireless_dev *wdev = dev->ieee80211_ptr;
struct nlattr *tb[NUM_NL80211_REKEY_DATA];
- struct cfg80211_gtk_rekey_data rekey_data;
+ struct cfg80211_gtk_rekey_data rekey_data
= {}
;
int err;
if (!info->attrs[NL80211_ATTR_REKEY_DATA])