Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304260
b: refs/heads/master
c: 310c6a7
h: refs/heads/master
v: v3
  • Loading branch information
Santosh Nayak authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 6da5cf7 commit 0e889bb
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 277ac73720628f032c34c1e8b157a6ae2077766f
refs/heads/master: 310c6a762e224ae38efac304c936b82ad89a4ff1
7 changes: 5 additions & 2 deletions trunk/drivers/staging/wlags49_h2/wl_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1510,8 +1510,11 @@ void wl_wds_device_alloc( struct wl_private *lp )
for( count = 0; count < NUM_WDS_PORTS; count++ ) {
struct net_device *dev_wds = NULL;

dev_wds = kmalloc( sizeof( struct net_device ), GFP_KERNEL );
memset( dev_wds, 0, sizeof( struct net_device ));
dev_wds = kzalloc(sizeof(struct net_device), GFP_KERNEL);
if (!dev_wds) {
DBG_LEAVE(DbgInfo);
return;
}

ether_setup( dev_wds );

Expand Down

0 comments on commit 0e889bb

Please sign in to comment.