]> asedeno.scripts.mit.edu Git - linux.git/commit
wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext
authorLior David <liord@codeaurora.org>
Thu, 28 Feb 2019 09:35:01 +0000 (11:35 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 3 Apr 2019 12:44:48 +0000 (15:44 +0300)
commit49122ec42634f73babb1dc96f170023e5228d080
treea132e408850eeaf422c68b8e0b83c5557ac31ca9
parent4bf019865cf327df2fed403d35bb36ecb6617e8a
wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext

The functions that send management TX frame have 3 possible
results: success and other side acknowledged receive (ACK=1),
success and other side did not acknowledge receive(ACK=0) and
failure to send the frame. The current implementation
incorrectly reports the ACK=0 case as failure.

Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/wmi.c