mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Initialize variable in cfg80211 roc and mgmt tx
To avoid unexpect issue, initialize variable in cfg80211 roc and mgmt tx. Change-Id: I5cc11cf011a136f29f6815142a45918ed71583fa CRs-Fixed: 2091906
This commit is contained in:
parent
95a3ebacc1
commit
f2dce0cf16
1 changed files with 2 additions and 2 deletions
|
|
@ -336,7 +336,7 @@ int wlan_cfg80211_roc(struct wlan_objmgr_vdev *vdev,
|
|||
struct ieee80211_channel *chan, uint32_t duration,
|
||||
uint64_t *cookie)
|
||||
{
|
||||
struct p2p_roc_req roc_req;
|
||||
struct p2p_roc_req roc_req = {0};
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
uint8_t vdev_id;
|
||||
bool ok;
|
||||
|
|
@ -405,7 +405,7 @@ int wlan_cfg80211_mgmt_tx(struct wlan_objmgr_vdev *vdev,
|
|||
const uint8_t *buf, uint32_t len, bool no_cck,
|
||||
bool dont_wait_for_ack, uint64_t *cookie)
|
||||
{
|
||||
struct p2p_mgmt_tx mgmt_tx;
|
||||
struct p2p_mgmt_tx mgmt_tx = {0};
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
uint8_t vdev_id;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue