Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66987
b: refs/heads/master
c: d8b0fb5
h: refs/heads/master
i:
  66985: 808297e
  66983: 77535ad
v: v3
  • Loading branch information
Geert Uytterhoeven authored and David S. Miller committed Oct 10, 2007
1 parent c0bd2f3 commit 6056aa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6470a89de90167cc1ff8a0312197ca422f5fe35f
refs/heads/master: d8b0fb51ef1563c631d26cb649a5479b5cc4899c
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/libertas/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <net/iw_handler.h>

#include "dev.h"
Expand Down Expand Up @@ -205,7 +206,7 @@ static int libertas_parse_chan(char *buf, size_t count,
if (!start)
return -EINVAL;
start += 5;
end = strstr(start, " ");
end = strchr(start, ' ');
if (!end)
end = buf + count;
hold = kzalloc((end - start)+1, GFP_KERNEL);
Expand Down Expand Up @@ -256,7 +257,7 @@ static void libertas_parse_ssid(char *buf, size_t count,
if (!hold)
return;
hold += 5;
end = strstr(hold, " ");
end = strchr(hold, ' ');
if (!end)
end = buf + count - 1;

Expand Down

0 comments on commit 6056aa8

Please sign in to comment.