qcacld-3.0: Rename hdd_adapter linkStatus field
Per the Linux coding style "mixed-case names are frowned upon" so rename field linkStatus in struct hdd_adapter. Change-Id: I842b4caae5f0c8fef90d9a6971cce2416983dc6f CRs-Fixed: 2135915
Bu işleme şunda yer alıyor:
@@ -1176,7 +1176,7 @@ struct hdd_adapter {
|
||||
#ifdef WLAN_FEATURE_LINK_LAYER_STATS
|
||||
bool is_link_layer_stats_set;
|
||||
#endif
|
||||
uint8_t linkStatus;
|
||||
uint8_t link_status;
|
||||
|
||||
/* variable for temperature in Celsius */
|
||||
int temperature;
|
||||
|
@@ -2433,7 +2433,7 @@ static int wlan_hdd_get_link_status(struct hdd_adapter *adapter)
|
||||
} else {
|
||||
/* update the adapter with the fresh results */
|
||||
priv = hdd_request_priv(request);
|
||||
adapter->linkStatus = priv->link_status;
|
||||
adapter->link_status = priv->link_status;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2445,7 +2445,7 @@ static int wlan_hdd_get_link_status(struct hdd_adapter *adapter)
|
||||
hdd_request_put(request);
|
||||
|
||||
/* either callback updated adapter stats or it has cached data */
|
||||
return adapter->linkStatus;
|
||||
return adapter->link_status;
|
||||
}
|
||||
|
||||
static void hdd_tx_fail_ind_callback(uint8_t *MacAddr, uint8_t seqNo)
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle