Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322685
b: refs/heads/master
c: 07732be
h: refs/heads/master
i:
  322683: 9544901
v: v3
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent bd0c6da commit 4347a93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 01f8a27e3c9109c0187f473e593fa7b45cdb65e8
refs/heads/master: 07732be2efa7d4ade66d224ea84d2c30740d0b77
3 changes: 2 additions & 1 deletion trunk/drivers/staging/ozwpan/ozcdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <linux/cdev.h>
#include <linux/uaccess.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include "ozconfig.h"
Expand Down Expand Up @@ -213,7 +214,7 @@ static int oz_set_active_pd(u8 *addr)
if (old_pd)
oz_pd_put(old_pd);
} else {
if (!memcmp(addr, "\0\0\0\0\0\0", sizeof(addr))) {
if (is_zero_ether_addr(addr)) {
spin_lock_bh(&g_cdev.lock);
pd = g_cdev.active_pd;
g_cdev.active_pd = 0;
Expand Down

0 comments on commit 4347a93

Please sign in to comment.