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:
Masayuki Ishikawa 2021-08-25 10:05:34 +09:00 committed by Xiang Xiao
parent 5ff703d5d0
commit af57d04433
1 changed files with 6 additions and 6 deletions

View File

@ -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));