staging: r8188eu: improve timeout handling in efuse_read_phymap_from_txpktbuf
authorMartin Kaiser <martin@kaiser.cx>
Sat, 9 Apr 2022 16:32:11 +0000 (18:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:49:58 +0000 (15:49 +0200)
commit5e080cd771e827e26c1e55af11144b2dfe8b9eb3
tree9ceb8db443549355e9925bab42f1b21543533315
parentefe20b73c5caefa68509ad076d4f6459c4a17420
staging: r8188eu: improve timeout handling in efuse_read_phymap_from_txpktbuf

Use the standard kernel functions to define and check the timeout in
efuse_read_phymap_from_txpktbuf.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220409163212.241122-10-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c