Commit 84f280e9 authored by Stephen Hemminger's avatar Stephen Hemminger

[WAN]: Fix single_open confusion in wandev_show.

parent be18dd53
......@@ -207,7 +207,7 @@ static struct file_operations status_fops = {
static int wandev_show(struct seq_file *m, void *v)
{
struct wan_device *wandev = v;
struct wan_device *wandev = m->private;
if (wandev->magic != ROUTER_MAGIC)
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment