Commit 93a3b607 authored by Jeff Garzik's avatar Jeff Garzik Committed by David S. Miller
Browse files

wireless: checkpatch cleanups



Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 092427be
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6408,10 +6408,9 @@ static int airo_set_encode(struct net_device *dev,
			set_wep_key(local, index, NULL, 0, perm, 1);
		} else
			/* Don't complain if only change the mode */
			if(!(dwrq->flags & IW_ENCODE_MODE)) {
			if (!(dwrq->flags & IW_ENCODE_MODE))
				return -EINVAL;
	}
	}
	/* Read the flags */
	if(dwrq->flags & IW_ENCODE_DISABLED)
		local->config.authType = AUTH_OPEN;	// disable encryption
+1 −2
Original line number Diff line number Diff line
@@ -1759,10 +1759,9 @@ static int atmel_set_encode(struct net_device *dev,
			priv->default_key = index;
		} else
			/* Don't complain if only change the mode */
			if (!(dwrq->flags & IW_ENCODE_MODE)) {
			if (!(dwrq->flags & IW_ENCODE_MODE))
				return -EINVAL;
	}
	}
	/* Read the flags */
	if (dwrq->flags & IW_ENCODE_DISABLED) {
		priv->wep_is_on = 0;
+2 −4
Original line number Diff line number Diff line
@@ -32,11 +32,9 @@ static inline void libertas_postpone_association_work(wlan_private *priv)
static inline void libertas_cancel_association_work(wlan_private *priv)
{
	cancel_delayed_work(&priv->assoc_work);
	if (priv->adapter->pending_assoc_req) {
	kfree(priv->adapter->pending_assoc_req);
	priv->adapter->pending_assoc_req = NULL;
}
}


/**
+2 −2

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+5 −5

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading