Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324499
b: refs/heads/master
c: 472aba5
h: refs/heads/master
i:
  324497: b4e3ab6
  324495: a5e26b1
v: v3
  • Loading branch information
Ben Chan authored and Greg Kroah-Hartman committed Aug 14, 2012
1 parent a106db7 commit f97b183
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 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: 3c1669d8a7b771cec1013cbfb5a7d390464c1d53
refs/heads/master: 472aba5f91fd6413c9c75e71366f133aa8c7f2f2
16 changes: 10 additions & 6 deletions trunk/drivers/staging/gdm72xx/gdm_wimax.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,16 @@ static int gdm_wimax_event_init(void)
if (!wm_event.ref_cnt) {
wm_event.sock = netlink_init(NETLINK_WIMAX,
gdm_wimax_event_rcv);
if (wm_event.sock)
wm_event.ref_cnt++;
INIT_LIST_HEAD(&wm_event.evtq);
INIT_LIST_HEAD(&wm_event.freeq);
INIT_WORK(&wm_event.ws, __gdm_wimax_event_send);
spin_lock_init(&wm_event.evt_lock);
if (wm_event.sock) {
INIT_LIST_HEAD(&wm_event.evtq);
INIT_LIST_HEAD(&wm_event.freeq);
INIT_WORK(&wm_event.ws, __gdm_wimax_event_send);
spin_lock_init(&wm_event.evt_lock);
}
}

if (wm_event.sock) {
wm_event.ref_cnt++;
return 0;
}

Expand Down

0 comments on commit f97b183

Please sign in to comment.