Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c515cfea authored by Amit Blay's avatar Amit Blay Committed by Stephen Boyd
Browse files

usb: usb_bam: Skip setting inactivity timer when it is unchanged



This fix prevents a crash when setting the inactivity timer on
consequent wlan on/off sequence, as a result of unclocked BAM access.

In case inactivity timer value is being set from userspace to
the same value it is currently set to, it is unnecessary to set
the timer again, so skip it.

CRs-fixed: 479379
Change-Id: I1db15e7d801f7cd551de0377284a0dbb9453c95b
Signed-off-by: default avatarAmit Blay <ablay@codeaurora.org>
parent f77b6b7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment