From: Johannes Stadlinger Date: Thu, 19 Jun 2014 19:20:15 +0000 (+0200) Subject: wlan-ng/prism2mgmt:checkpatch: Insert blank line X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5d9c8d51c8d65dc050917b076ecb60bf99296992;p=openwrt%2Fstaging%2Fblogic.git wlan-ng/prism2mgmt:checkpatch: Insert blank line This patch inserts a blank line after a declaration to avoid checkpatch warning. Signed-off-by: Johannes Stadlinger Signed-off-by: Maximilian Eschenbacher CC: linux-kernel@i4.cs.fau.de Meh-by: Josh Triplett CC: Himangi Saraogi CC: Vitaly Osipov CC: devel@driverdev.osuosl.org CC: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c index f90f7da41d68..e6a82d3303c1 100644 --- a/drivers/staging/wlan-ng/prism2mgmt.c +++ b/drivers/staging/wlan-ng/prism2mgmt.c @@ -190,6 +190,7 @@ int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp) word = 0; for (i = 0; i < msg->channellist.data.len; i++) { u8 channel = msg->channellist.data.data[i]; + if (channel > 14) continue; /* channel 1 is BIT 0 ... channel 14 is BIT 13 */