Re: [PATCH] staging: rtl8188eu: replaced msleep() by usleep_range()

2021-04-12 Thread Mitali Borkar
On Mon, Apr 12, 2021 at 08:19:02AM +0200, Greg KH wrote: > On Mon, Apr 12, 2021 at 11:40:53AM +0530, Mitali Borkar wrote: > > Fixed the warning:-msleep < 20ms can sleep for up to 20ms by replacing > > msleep(unsigned long msecs) by usleep_range(unsigned long min, unsigned > > long max) > > in

Re: [PATCH] staging: rtl8188eu: replaced msleep() by usleep_range()

2021-04-12 Thread Greg KH
On Mon, Apr 12, 2021 at 11:40:53AM +0530, Mitali Borkar wrote: > Fixed the warning:-msleep < 20ms can sleep for up to 20ms by replacing > msleep(unsigned long msecs) by usleep_range(unsigned long min, unsigned long > max) > in usecs as msleep(1ms~20ms) can sleep for upto 20 ms. > >

[PATCH] staging: rtl8188eu: replaced msleep() by usleep_range()

2021-04-12 Thread Mitali Borkar
Fixed the warning:-msleep < 20ms can sleep for up to 20ms by replacing msleep(unsigned long msecs) by usleep_range(unsigned long min, unsigned long max) in usecs as msleep(1ms~20ms) can sleep for upto 20 ms. Signed-off-by: Mitali Borkar --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +-