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
这个提交包含在:
Jeff Johnson
2018-12-26 21:21:31 -08:00
提交者 nshrivas
父节点 59f8ee46a5
当前提交 4e7862fbb2
修改 2 个文件,包含 1 行新增4 行删除

查看文件

@@ -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),