qcacld-3.0: Replace typedef connection_info_t
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 connection_info_t typedef does not meet any of those criteria, so replace it with a well named struct. Change-Id: I414f8d1949807f1bc0cda72971fab5696d1d1860 CRs-Fixed: 2092786
此提交包含在:
@@ -145,7 +145,7 @@ struct hdd_conn_flag {
|
||||
#define ANTENNA_SEL_INFO_RSVD 0x80
|
||||
|
||||
/**
|
||||
* typedef connection_info_t - structure to store connection information
|
||||
* struct hdd_connection_info - structure to store connection information
|
||||
* @connState: connection state of the NIC
|
||||
* @bssId: BSSID
|
||||
* @SSID: SSID Info
|
||||
@@ -175,7 +175,7 @@ struct hdd_conn_flag {
|
||||
* @assoc_status_code: holds assoc fail reason
|
||||
* @congestion: holds congestion percentage
|
||||
*/
|
||||
typedef struct connection_info_s {
|
||||
struct hdd_connection_info {
|
||||
eConnectionState connState;
|
||||
struct qdf_mac_addr bssId;
|
||||
tCsrSSIDInfo SSID;
|
||||
@@ -206,7 +206,7 @@ typedef struct connection_info_s {
|
||||
int8_t signal;
|
||||
int32_t assoc_status_code;
|
||||
uint32_t cca;
|
||||
} connection_info_t;
|
||||
};
|
||||
|
||||
/* Forward declarations */
|
||||
typedef struct hdd_adapter hdd_adapter_t;
|
||||
|
@@ -670,7 +670,7 @@ struct hdd_station_ctx {
|
||||
#endif
|
||||
|
||||
/* Connection information*/
|
||||
connection_info_t conn_info;
|
||||
struct hdd_connection_info conn_info;
|
||||
|
||||
roaming_info_t roam_info;
|
||||
|
||||
|
新增問題並參考
封鎖使用者