qcacld-3.0: Remove txRateFlags from tSirIbssPeerInfoParams
The txRateFlags field in tSirIbssPeerInfoParams is initialized to zero but is otherwise unused, so remove it. Change-Id: I8efcb18869dfe1c5e2a42395bb40c281391b3bfa CRs-Fixed: 2374278
这个提交包含在:
@@ -2995,14 +2995,12 @@ typedef struct {
|
||||
* @mac_addr: mac address received from target
|
||||
* @txRate: TX rate
|
||||
* @mcsIndex: MCS index
|
||||
* @txRateFlags: TX rate flags
|
||||
* @rssi: RSSI
|
||||
*/
|
||||
typedef struct {
|
||||
uint8_t mac_addr[QDF_MAC_ADDR_SIZE];
|
||||
uint32_t txRate;
|
||||
uint32_t mcsIndex;
|
||||
uint32_t txRateFlags;
|
||||
int8_t rssi;
|
||||
} tSirIbssPeerInfoParams;
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -2132,7 +2132,6 @@ int wma_ibss_peer_info_event_handler(void *handle, uint8_t *data,
|
||||
WMA_TGT_NOISE_FLOOR_DBM;
|
||||
|
||||
pSmeRsp->txRate = peer_info->data_rate;
|
||||
pSmeRsp->txRateFlags = 0;
|
||||
|
||||
WMA_LOGE("peer " MAC_ADDRESS_STR "rssi %d txRate %d",
|
||||
MAC_ADDR_ARRAY(peer_mac),
|
||||
|
在新工单中引用
屏蔽一个用户