projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b3754
)
wlan-ng/prism2mgmt:checkpatch: Insert blank line
author
Johannes Stadlinger
<
[email protected]
>
Thu, 19 Jun 2014 19:20:15 +0000
(21:20 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 20 Jun 2014 00:27:36 +0000
(17:27 -0700)
This patch inserts a blank line after a declaration to avoid checkpatch
warning.
Signed-off-by: Johannes Stadlinger <
[email protected]
>
Signed-off-by: Maximilian Eschenbacher <
[email protected]
>
CC:
[email protected]
Meh-by: Josh Triplett <
[email protected]
>
CC: Himangi Saraogi <
[email protected]
>
CC: Vitaly Osipov <
[email protected]
>
CC:
[email protected]
CC:
[email protected]
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/wlan-ng/prism2mgmt.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wlan-ng/prism2mgmt.c
b/drivers/staging/wlan-ng/prism2mgmt.c
index f90f7da41d687de65c50b8bd9773288b244e0f80..e6a82d3303c13a6111ca373d34c6609f368807ec 100644
(file)
--- 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 */