Skip to content

Commit

Permalink
ath10k: fix mismatched wmi api call
Browse files Browse the repository at this point in the history
Fix to use v10.2 wmi call for firmware v10.2.
It turned out that peer association function was using
v10.1 wmi call for v10.2 firmware during code review.

Signed-off-by: Peter Oh <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
Peter Oh authored and kvalo committed Nov 17, 2014
1 parent 78157a1 commit 9de8f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/ath10k/wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4194,9 +4194,9 @@ int ath10k_wmi_peer_assoc(struct ath10k *ar,

if (test_bit(ATH10K_FW_FEATURE_WMI_10X, ar->fw_features)) {
if (test_bit(ATH10K_FW_FEATURE_WMI_10_2, ar->fw_features))
ath10k_wmi_peer_assoc_fill_10_1(ar, skb->data, arg);
else
ath10k_wmi_peer_assoc_fill_10_2(ar, skb->data, arg);
else
ath10k_wmi_peer_assoc_fill_10_1(ar, skb->data, arg);
} else {
ath10k_wmi_peer_assoc_fill_main(ar, skb->data, arg);
}
Expand Down

0 comments on commit 9de8f26

Please sign in to comment.