qcacld: initialize variables to avoid errors during compilation

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
(cherry picked from commit dc3bf7c0c5f0d3e5a57ad2ec49360d51976908af)
This commit is contained in:
Park Ju Hyung 2019-04-15 18:47:58 +09:00 committed by Timi
parent dad3dbc860
commit e4559a1f49
2 changed files with 2 additions and 2 deletions

View file

@ -1623,7 +1623,7 @@ static int __wlan_hdd_cfg80211_handle_tsf_cmd(struct wiphy *wiphy,
struct nlattr *tb_vendor[QCA_WLAN_VENDOR_ATTR_TSF_MAX + 1];
int status, ret;
struct sk_buff *reply_skb;
uint32_t tsf_op_resp[3], tsf_cmd;
uint32_t tsf_op_resp[3] = { 0, }, tsf_cmd;
hdd_enter_dev(wdev->netdev);

View file

@ -4241,7 +4241,7 @@ static void wma_add_bss_ibss_mode(tp_wma_handle wma, tpAddBssParams add_bss)
struct wma_vdev_start_req req;
void *peer = NULL;
struct wma_target_req *msg;
uint8_t vdev_id, peer_id;
uint8_t vdev_id = 0, peer_id;
QDF_STATUS status;
tSetBssKeyParams key_info;
struct policy_mgr_hw_mode_params hw_mode = {0};