mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Rename HDD identifier deviceMode
The Linux Coding Style frowns upon mixed-case names so rename HDD identifier deviceMode to be compliant. Change-Id: I24c3ffc1c477eb65ebb04ea1434d1902b1fec343 CRs-Fixed: 2427182
This commit is contained in:
parent
a540edea25
commit
2acf009168
2 changed files with 8 additions and 8 deletions
|
|
@ -183,7 +183,7 @@ static void send_oem_reg_rsp_nlink_msg(void)
|
|||
tAniMsgHdr *ani_hdr;
|
||||
uint8_t *buf;
|
||||
uint8_t *numInterfaces;
|
||||
uint8_t *deviceMode;
|
||||
uint8_t *device_mode;
|
||||
uint8_t *vdevId;
|
||||
struct hdd_adapter *adapter;
|
||||
|
||||
|
|
@ -217,13 +217,13 @@ static void send_oem_reg_rsp_nlink_msg(void)
|
|||
|
||||
/* Iterate through each adapter and fill device mode and vdev id */
|
||||
hdd_for_each_adapter(p_hdd_ctx, adapter) {
|
||||
deviceMode = buf++;
|
||||
device_mode = buf++;
|
||||
vdevId = buf++;
|
||||
*deviceMode = adapter->device_mode;
|
||||
*device_mode = adapter->device_mode;
|
||||
*vdevId = adapter->vdev_id;
|
||||
(*numInterfaces)++;
|
||||
hdd_debug("numInterfaces: %d, deviceMode: %d, vdevId: %d",
|
||||
*numInterfaces, *deviceMode,
|
||||
hdd_debug("numInterfaces: %d, device_mode: %d, vdevId: %d",
|
||||
*numInterfaces, *device_mode,
|
||||
*vdevId);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -517,13 +517,13 @@ static bool put_wifi_iface_stats(tpSirWifiIfaceStat if_stat,
|
|||
|
||||
/**
|
||||
* hdd_map_device_to_ll_iface_mode() - map device to link layer interface mode
|
||||
* @deviceMode: Device mode
|
||||
* @device_mode: Device mode
|
||||
*
|
||||
* Return: interface mode
|
||||
*/
|
||||
static tSirWifiInterfaceMode hdd_map_device_to_ll_iface_mode(int deviceMode)
|
||||
static tSirWifiInterfaceMode hdd_map_device_to_ll_iface_mode(int device_mode)
|
||||
{
|
||||
switch (deviceMode) {
|
||||
switch (device_mode) {
|
||||
case QDF_STA_MODE:
|
||||
return WIFI_INTERFACE_STA;
|
||||
case QDF_SAP_MODE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue