Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab1effc0 authored by Sabitha George's avatar Sabitha George Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: Add blank line after declarations



Fixes checkpatch.pl warning :Missing a blank line
after declarations

Signed-off-by: default avatarSabitha George <sabitha.george@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 68a30a63
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -750,6 +750,7 @@ void hostif_start_confirm(struct ks_wlan_private *priv)
{
{
#ifdef WPS
#ifdef WPS
	union iwreq_data wrqu;
	union iwreq_data wrqu;

	wrqu.data.length = 0;
	wrqu.data.length = 0;
	wrqu.data.flags = 0;
	wrqu.data.flags = 0;
	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
	wrqu.ap_addr.sa_family = ARPHRD_ETHER;
@@ -771,6 +772,7 @@ void hostif_connect_indication(struct ks_wlan_private *priv)
	unsigned int old_status = priv->connect_status;
	unsigned int old_status = priv->connect_status;
	struct net_device *netdev = priv->net_dev;
	struct net_device *netdev = priv->net_dev;
	union iwreq_data wrqu0;
	union iwreq_data wrqu0;

	connect_code = get_WORD(priv);
	connect_code = get_WORD(priv);


	switch (connect_code) {
	switch (connect_code) {
@@ -910,6 +912,7 @@ static
void hostif_infrastructure_set_confirm(struct ks_wlan_private *priv)
void hostif_infrastructure_set_confirm(struct ks_wlan_private *priv)
{
{
	uint16_t result_code;
	uint16_t result_code;

	DPRINTK(3, "\n");
	DPRINTK(3, "\n");
	result_code = get_WORD(priv);
	result_code = get_WORD(priv);
	DPRINTK(3, "result code = %d\n", result_code);
	DPRINTK(3, "result code = %d\n", result_code);
@@ -975,6 +978,7 @@ void hostif_bss_scan_confirm(struct ks_wlan_private *priv)
	unsigned int result_code;
	unsigned int result_code;
	struct net_device *dev = priv->net_dev;
	struct net_device *dev = priv->net_dev;
	union iwreq_data wrqu;
	union iwreq_data wrqu;

	result_code = get_DWORD(priv);
	result_code = get_DWORD(priv);
	DPRINTK(2, "result=%d :: scan_ind_count=%d\n", result_code,
	DPRINTK(2, "result=%d :: scan_ind_count=%d\n", result_code,
		priv->scan_ind_count);
		priv->scan_ind_count);
@@ -1872,6 +1876,7 @@ static
void hostif_sme_set_wep(struct ks_wlan_private *priv, int type)
void hostif_sme_set_wep(struct ks_wlan_private *priv, int type)
{
{
	uint32_t val;
	uint32_t val;

	switch (type) {
	switch (type) {
	case SME_WEP_INDEX_REQUEST:
	case SME_WEP_INDEX_REQUEST:
		val = cpu_to_le32((uint32_t) (priv->reg.wep_index));
		val = cpu_to_le32((uint32_t) (priv->reg.wep_index));
@@ -2335,6 +2340,7 @@ static
void hostif_sme_set_key(struct ks_wlan_private *priv, int type)
void hostif_sme_set_key(struct ks_wlan_private *priv, int type)
{
{
	uint32_t val;
	uint32_t val;

	switch (type) {
	switch (type) {
	case SME_SET_FLAG:
	case SME_SET_FLAG:
		val = cpu_to_le32((uint32_t) (priv->reg.privacy_invoked));
		val = cpu_to_le32((uint32_t) (priv->reg.privacy_invoked));