patch for "rtw_sctx_wait timeout: dump_mgntframe_and_wait" https://lkml.org/lkml/2022/11/6/275

This commit is contained in:
d3vilh 2023-02-19 11:40:46 +02:00
parent 7c764ba758
commit f20f299668
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

View File

@ -10519,10 +10519,12 @@ static int rtw_priv_get(struct net_device *dev,
return -ENETDOWN; return -ENETDOWN;
} }
/* patch for "rtw_sctx_wait timeout: dump_mgntframe_and_wait" https://lkml.org/lkml/2022/11/6/275
if (RTW_CANNOT_RUN(padapter)) { if (RTW_CANNOT_RUN(padapter)) {
RTW_INFO("%s fail =>(padapter->bSurpriseRemoved == _TRUE) || ( padapter->bDriverStopped == _TRUE)\n", __func__); RTW_INFO("%s fail =>(padapter->bSurpriseRemoved == _TRUE) || ( padapter->bDriverStopped == _TRUE)\n", __func__);
return -ENETDOWN; return -ENETDOWN;
} }
*/
if (extra == NULL) { if (extra == NULL) {
wrqu->length = 0; wrqu->length = 0;