patch for "rtw_sctx_wait timeout: dump_mgntframe_and_wait" https://lkml.org/lkml/2022/11/6/275
This commit is contained in:
parent
7c764ba758
commit
f20f299668
|
@ -0,0 +1 @@
|
||||||
|
.DS_Store
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue