Revert "drivers: wireless: Fix ASSERT() in _read_data_len() in gs2200m.c"
We found that the change caused a problem when running a VPN application.
and also confirmed that reverting the commit fixed the issue.
This reverts commit 11a842333f
.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
5ff703d5d0
commit
af57d04433
|
@ -872,12 +872,6 @@ retry:
|
||||||
|
|
||||||
_write_data(dev, hdr, sizeof(hdr));
|
_write_data(dev, hdr, sizeof(hdr));
|
||||||
|
|
||||||
/* NOTE: busy wait 30us
|
|
||||||
* workaround to avoid an invalid frame response
|
|
||||||
*/
|
|
||||||
|
|
||||||
up_udelay(30);
|
|
||||||
|
|
||||||
/* Wait for data ready */
|
/* Wait for data ready */
|
||||||
|
|
||||||
while (!dev->lower->dready(NULL))
|
while (!dev->lower->dready(NULL))
|
||||||
|
@ -885,6 +879,12 @@ retry:
|
||||||
/* TODO: timeout */
|
/* TODO: timeout */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* NOTE: busy wait 50us
|
||||||
|
* workaround to avoid an invalid frame response
|
||||||
|
*/
|
||||||
|
|
||||||
|
up_udelay(50);
|
||||||
|
|
||||||
/* Read frame response */
|
/* Read frame response */
|
||||||
|
|
||||||
_read_data(dev, res, sizeof(res));
|
_read_data(dev, res, sizeof(res));
|
||||||
|
|
Loading…
Reference in New Issue