summaryrefslogtreecommitdiff
path: root/include/uapi/linux/socket.h
diff options
context:
space:
mode:
authorMaya Erez <merez@codeaurora.org>2015-11-18 09:22:45 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:57:59 -0700
commitfa8629d2108423c60436467ca5fcf98bf89bffec (patch)
tree4f34d0d39c726c6b59deb5b891c775d0b0ee9476 /include/uapi/linux/socket.h
parent97f833bbc82a3652d8fd6e180c95e031ca632020 (diff)
wil6210: prevent external wmi commands during suspend flow
In __wmi_send we check if fw is ready at the beginning of the function. While we wait for the completion of the previous command, system suspend can be invoked and reset the HW, causing __wmi_send to read from HW registers while it is not ready. Taking the wmi_mutex in the reset flow when setting the FW ready bit to zero will prevent the above race condition. Change-Id: I5d2e823a27beaeaaf5b8b1e25457c158efd3ea46 Signed-off-by: Maya Erez <merez@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/socket.h')
0 files changed, 0 insertions, 0 deletions