diff options
| author | Zhang Qian <zhangq@codeaurora.org> | 2017-02-08 11:01:54 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-23 01:24:35 -0800 |
| commit | 63ecdc695692eade8e9f5ee573f314475d441f8a (patch) | |
| tree | c16497d2b63cbf64923a57162563841b94c9d2c4 | |
| parent | 87293efbce93f947a0a407f45ab03dccea8dbd2a (diff) | |
qcacld-2.0: Find peer using ID to peer MAP
Peer ID from FW is not the same as host local peer ID. So
ol_txrx_peer_find_by_id should be used to find peer by ID.
Change-Id: Ic688e39c370cc38454c2c25705eae74a776e7d7f
CRs-Fixed: 2009070
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index 115a4d6f10ec..9ff7d5e753fa 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -5821,8 +5821,8 @@ static int wma_ll_stats_evt_handler(void *handle, u_int8_t *event, WMA_LOGE(FL("Invalid length of PEER signal.")); } - peer = ol_txrx_peer_find_by_local_id(pdev, - wmi_peer_signal->peer_id); + peer = ol_txrx_peer_find_by_id(pdev, + wmi_peer_signal->peer_id); if (!peer) { WMA_LOGE(FL("Invalid Peer ID %d in FW message."), wmi_peer_signal->peer_id); |
