]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtlwifi: Change long delays to sleeps
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 15 Feb 2016 22:12:07 +0000 (16:12 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Mar 2016 12:12:49 +0000 (14:12 +0200)
commit49f86ec21c01b654f6ec47f2f4567f4f9ebaa26b
tree26c6b222fce6234b57a4d1b82a105fb32979ef01
parent2f10e50e3d284ba2a4e787bfe19e89770f87a8b3
rtlwifi: Change long delays to sleeps

Routine rtl_addr_delay() uses delay statements in code that can
sleep. To improve system responsiveness, the various delay statements
are changed.

In addition, routines rtl_rfreg_delay() and rtl_bb_delay() are
rewritten to use the code in rtl_addr_delay() for most of their
input values.

Suggested-by: Byeoungwook Kim <quddnr145@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/core.c