projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71793b7
)
iwlwifi: mvm: clear new beacon command template struct
author
Johannes Berg
<
[email protected]
>
Fri, 31 Mar 2017 08:47:35 +0000
(10:47 +0200)
committer
Luca Coelho
<
[email protected]
>
Mon, 5 Jun 2017 18:47:09 +0000
(21:47 +0300)
Clear the struct so that all reserved fields are zero when we
send the struct down to the device.
Signed-off-by: Johannes Berg <
[email protected]
>
Signed-off-by: Luca Coelho <
[email protected]
>
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
b/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
index 0f1831b419159b606967889ff8ea20c7ef86f0f2..fd2fc46e2fe51d8e8f1930af05e40ee9400c84a6 100644
(file)
--- a/
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
+++ b/
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
@@
-1040,7
+1040,7
@@
static int iwl_mvm_mac_ctxt_send_beacon(struct iwl_mvm *mvm,
struct iwl_mac_beacon_cmd_v6 beacon_cmd_v6;
struct iwl_mac_beacon_cmd_v7 beacon_cmd;
} u = {};
- struct iwl_mac_beacon_cmd beacon_cmd;
+ struct iwl_mac_beacon_cmd beacon_cmd
= {}
;
struct ieee80211_tx_info *info;
u32 beacon_skb_len;
u32 rate, tx_flags;