From f9d01751e7878c23a71f99bffd1688b9da72edf8 Mon Sep 17 00:00:00 2001 From: Johannes Stadlinger Date: Thu, 19 Jun 2014 21:20:20 +0200 Subject: [PATCH] wlan-ng/prism2sta:checkpatch: Insert blank lines This patch inserts blank lines after declarations to avoid checkpatch warnings. After our fixes in 'wlan-ng/prism2sta' there is still a checkpatch warning about prefering 'ether_addr_copy' instead of 'memcpy' remaining. Signed-off-by: Johannes Stadlinger Signed-off-by: Maximilian Eschenbacher CC: linux-kernel@i4.cs.fau.de Reviewed-by: Josh Triplett CC: Tugce Sirin CC: Himangi Saraogi CC: Paul Gortmaker CC: Vitaly Osipov CC: Neil Armstrong CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wlan-ng/prism2sta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c index 54fa468cae6b..209e4db6979a 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -360,6 +360,7 @@ static int prism2sta_mlmerequest(wlandevice_t *wlandev, struct p80211msg *msg) case DIDmsg_lnxreq_ifstate: { struct p80211msg_lnxreq_ifstate *ifstatemsg; + pr_debug("Received mlme ifstate request\n"); ifstatemsg = (struct p80211msg_lnxreq_ifstate *) msg; result = @@ -1406,6 +1407,7 @@ void prism2sta_processing_defer(struct work_struct *data) */ if (hw->join_ap && --hw->join_retries > 0) { hfa384x_JoinRequest_data_t joinreq; + joinreq = hw->joinreq; /* Send the join request */ hfa384x_drvr_setconfig(hw, -- 2.30.2