qcacld-3.0: Rename HDD identifier pLinkSpeed

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pLinkSpeed to be
compliant.

Change-Id: I04db9da2cba615d9a216a9eab40d1a07c73c33fb
CRs-Fixed: 2417587
Esse commit está contido em:
Jeff Johnson
2019-03-10 21:54:04 -07:00
commit de nshrivas
commit 21451ae241
2 arquivos alterados com 4 adições e 4 exclusões

Ver arquivo

@@ -2434,7 +2434,7 @@ int __iw_get_softap_linkspeed(struct net_device *dev,
{
struct hdd_adapter *adapter = (netdev_priv(dev));
struct hdd_context *hdd_ctx;
char *pLinkSpeed = (char *)extra;
char *out_link_speed = (char *)extra;
uint32_t link_speed = 0;
int len = sizeof(uint32_t) + 1;
struct qdf_mac_addr mac_address;
@@ -2507,7 +2507,7 @@ int __iw_get_softap_linkspeed(struct net_device *dev,
/* linkspeed in units of 500 kbps */
link_speed = link_speed / 500;
wrqu->data.length = len;
rc = snprintf(pLinkSpeed, len, "%u", link_speed);
rc = snprintf(out_link_speed, len, "%u", link_speed);
if ((rc < 0) || (rc >= len)) {
/* encoding or length error? */
hdd_err("Unable to encode link speed");

Ver arquivo

@@ -3707,7 +3707,7 @@ static int __iw_get_linkspeed(struct net_device *dev,
union iwreq_data *wrqu, char *extra)
{
struct hdd_adapter *adapter = WLAN_HDD_GET_PRIV_PTR(dev);
char *pLinkSpeed = (char *)extra;
char *out_link_speed = (char *)extra;
int len = sizeof(uint32_t) + 1;
uint32_t link_speed = 0;
struct hdd_context *hdd_ctx;
@@ -3731,7 +3731,7 @@ static int __iw_get_linkspeed(struct net_device *dev,
wrqu->data.length = len;
/* return the linkspeed as a string */
rc = snprintf(pLinkSpeed, len, "%u", link_speed);
rc = snprintf(out_link_speed, len, "%u", link_speed);
if ((rc < 0) || (rc >= len)) {
/* encoding or length error? */
hdd_err("Unable to encode link speed");