mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
qcacld-3.0: HDD: Fix checkpatch code indent issues
Fix checkpatch code indent issues. CRs-Fixed: 2311614 Change-Id: Iee0010a4a78f7da094a7459fd60a952277edec4b
This commit is contained in:
parent
3fd7e09281
commit
683726a56b
6 changed files with 18 additions and 19 deletions
|
|
@ -1857,7 +1857,7 @@ static QDF_STATUS hdd_dis_connect_handler(struct hdd_adapter *adapter,
|
|||
* progress so no need to set state to eConnectionState_NotConnected
|
||||
*/
|
||||
if ((eConnectionState_Connecting != sta_ctx->conn_info.connState)) {
|
||||
hdd_conn_set_connection_state(adapter,
|
||||
hdd_conn_set_connection_state(adapter,
|
||||
eConnectionState_NotConnected);
|
||||
}
|
||||
pmo_ucfg_flush_gtk_offload_req(adapter->vdev);
|
||||
|
|
|
|||
|
|
@ -9707,16 +9707,16 @@ static int hdd_set_clear_connectivity_check_stats_info(
|
|||
arp_stats_params->pkt_type_bitmap;
|
||||
|
||||
if (pkt_bitmap & CONNECTIVITY_CHECK_SET_ARP) {
|
||||
if (!tb[STATS_GW_IPV4]) {
|
||||
hdd_err("GW ipv4 address is not present");
|
||||
err = -EINVAL;
|
||||
goto end;
|
||||
}
|
||||
arp_stats_params->ip_addr =
|
||||
if (!tb[STATS_GW_IPV4]) {
|
||||
hdd_err("GW ipv4 address is not present");
|
||||
err = -EINVAL;
|
||||
goto end;
|
||||
}
|
||||
arp_stats_params->ip_addr =
|
||||
nla_get_u32(tb[STATS_GW_IPV4]);
|
||||
arp_stats_params->pkt_type =
|
||||
arp_stats_params->pkt_type =
|
||||
WLAN_NUD_STATS_ARP_PKT_TYPE;
|
||||
adapter->track_arp_ip =
|
||||
adapter->track_arp_ip =
|
||||
arp_stats_params->ip_addr;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -962,7 +962,7 @@ void __hdd_indicate_mgmt_frame(struct hdd_adapter *adapter,
|
|||
* as destination, we are dropping
|
||||
* action frame
|
||||
*/
|
||||
return;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -741,10 +741,10 @@ void hdd_tx_rx_collect_connectivity_stats_info(struct sk_buff *skb,
|
|||
} else if (action == PKT_TYPE_TX_HOST_FW_SENT &&
|
||||
adapter->hdd_stats.hdd_tcp_stats.
|
||||
is_tcp_ack_sent) {
|
||||
/* host receives tx completion */
|
||||
++adapter->hdd_stats.hdd_tcp_stats.
|
||||
/* host receives tx completion */
|
||||
++adapter->hdd_stats.hdd_tcp_stats.
|
||||
tx_tcp_ack_host_fw_sent;
|
||||
adapter->hdd_stats.hdd_tcp_stats.
|
||||
adapter->hdd_stats.hdd_tcp_stats.
|
||||
is_tcp_ack_sent = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3419,8 +3419,8 @@ int hdd_set_ldpc(struct hdd_adapter *adapter, int value)
|
|||
return -EINVAL;
|
||||
}
|
||||
} else if (!config->enable_rx_ldpc) {
|
||||
hdd_err("LDCP is already disabled");
|
||||
return 0;
|
||||
hdd_err("LDCP is already disabled");
|
||||
return 0;
|
||||
}
|
||||
status = ucfg_mlme_get_ht_cap_info(hdd_ctx->hdd_psoc, &ht_cap_info);
|
||||
if (QDF_STATUS_SUCCESS != status) {
|
||||
|
|
|
|||
|
|
@ -1471,10 +1471,9 @@ void hdd_wmm_classify_pkt(struct hdd_adapter *adapter,
|
|||
hdd_debug("Ether II VLAN tagged IP Packet, tos is %d",
|
||||
tos);
|
||||
#endif /* HDD_WMM_DEBUG */
|
||||
} else
|
||||
if ((ntohs(eth_hdr->eth_IIv.h_vlan_encapsulated_proto)
|
||||
< WLAN_MIN_PROTO)
|
||||
&& (eth_hdr->eth_8023v.h_snap.dsap ==
|
||||
} else if ((ntohs(eth_hdr->eth_IIv.h_vlan_encapsulated_proto)
|
||||
< WLAN_MIN_PROTO) &&
|
||||
(eth_hdr->eth_8023v.h_snap.dsap ==
|
||||
WLAN_SNAP_DSAP)
|
||||
&& (eth_hdr->eth_8023v.h_snap.ssap ==
|
||||
WLAN_SNAP_SSAP)
|
||||
|
|
|
|||
Loading…
Reference in a new issue