qcacld-3.0: Replace typedef tSirWifiRadio
The Linux Coding Style enumerates a few special cases where typedefs are useful, but stresses "NEVER EVER use a typedef unless you can clearly match one of those rules." The tSirWifiRadio typedef does not meet any of those criteria, so replace it with uint32_t. Change-Id: I5f733f4a4aa07803c3719108169e6aeb98293c5e CRs-Fixed: 2427175
This commit is contained in:
@@ -3479,8 +3479,6 @@ typedef struct {
|
|||||||
|
|
||||||
/******************************LINK LAYER Statistics**********************/
|
/******************************LINK LAYER Statistics**********************/
|
||||||
|
|
||||||
typedef int tSirWifiRadio;
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t reqId;
|
uint32_t reqId;
|
||||||
uint8_t staId;
|
uint8_t staId;
|
||||||
@@ -3629,7 +3627,7 @@ struct wifi_channel_stats {
|
|||||||
* @channels: per-channel statistics
|
* @channels: per-channel statistics
|
||||||
*/
|
*/
|
||||||
struct wifi_radio_stats {
|
struct wifi_radio_stats {
|
||||||
tSirWifiRadio radio;
|
uint32_t radio;
|
||||||
uint32_t on_time;
|
uint32_t on_time;
|
||||||
uint32_t tx_time;
|
uint32_t tx_time;
|
||||||
uint32_t rx_time;
|
uint32_t rx_time;
|
||||||
|
Reference in New Issue
Block a user