drivers: nrf_wifi: Initialize TWT response parameters to zero
Set TWT response parameters to zero to avoid uninitialized values and ensure correct behavior. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
This commit is contained in:
parent
336c650646
commit
1b5c590ae8
1 changed files with 2 additions and 2 deletions
|
@ -620,8 +620,8 @@ void nrf_wifi_event_proc_twt_setup_zep(void *vif_ctx,
|
||||||
unsigned int event_len)
|
unsigned int event_len)
|
||||||
{
|
{
|
||||||
struct nrf_wifi_vif_ctx_zep *vif_ctx_zep = NULL;
|
struct nrf_wifi_vif_ctx_zep *vif_ctx_zep = NULL;
|
||||||
struct wifi_twt_params twt_params;
|
struct wifi_twt_params twt_params = { 0 };
|
||||||
struct twt_interval_float twt_interval_fp;
|
struct twt_interval_float twt_interval_fp = { 0 };
|
||||||
|
|
||||||
if (!vif_ctx || !twt_setup_info) {
|
if (!vif_ctx || !twt_setup_info) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue