|
@@ -191,8 +191,6 @@ static u8 p2p_listen_state;
|
|
|
static struct completion hif_driver_comp;
|
|
|
static struct mutex hif_deinit_lock;
|
|
|
|
|
|
-static u8 rcv_assoc_resp[MAX_ASSOC_RESP_FRAME_SIZE];
|
|
|
-
|
|
|
static u8 set_ip[2][4];
|
|
|
static u8 get_ip[2][4];
|
|
|
|
|
@@ -1502,16 +1500,16 @@ static inline void host_int_parse_assoc_resp_info(struct wilc_vif *vif,
|
|
|
if (mac_status == MAC_STATUS_CONNECTED) {
|
|
|
u32 assoc_resp_info_len;
|
|
|
|
|
|
- memset(rcv_assoc_resp, 0, MAX_ASSOC_RESP_FRAME_SIZE);
|
|
|
+ memset(hif_drv->assoc_resp, 0, MAX_ASSOC_RESP_FRAME_SIZE);
|
|
|
|
|
|
- host_int_get_assoc_res_info(vif, rcv_assoc_resp,
|
|
|
+ host_int_get_assoc_res_info(vif, hif_drv->assoc_resp,
|
|
|
MAX_ASSOC_RESP_FRAME_SIZE,
|
|
|
&assoc_resp_info_len);
|
|
|
|
|
|
if (assoc_resp_info_len != 0) {
|
|
|
s32 err = 0;
|
|
|
|
|
|
- err = wilc_parse_assoc_resp_info(rcv_assoc_resp,
|
|
|
+ err = wilc_parse_assoc_resp_info(hif_drv->assoc_resp,
|
|
|
assoc_resp_info_len,
|
|
|
&conn_info);
|
|
|
if (err)
|