From 0c3d4b326ca82937a34f4141490a9b9aaac1edaa Mon Sep 17 00:00:00 2001 From: kimocoder Date: Tue, 2 May 2023 00:34:04 +0200 Subject: [PATCH] Remove useless warning --- core/rtw_mlme.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/rtw_mlme.c b/core/rtw_mlme.c index db2998c..5733588 100644 --- a/core/rtw_mlme.c +++ b/core/rtw_mlme.c @@ -2841,10 +2841,8 @@ void rtw_sta_mstatus_report(_adapter *adapter) psta = rtw_get_stainfo(&adapter->stapriv, tgt_network->network.MacAddress); if (psta) rtw_sta_mstatus_disc_rpt(adapter, psta->cmn.mac_id); - else { + else RTW_INFO("%s "ADPT_FMT" - mac_addr: "MAC_FMT" psta == NULL\n", __func__, ADPT_ARG(adapter), MAC_ARG(tgt_network->network.MacAddress)); - rtw_warn_on(1); - } } }