Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290623
b: refs/heads/master
c: cf44066
h: refs/heads/master
i:
  290621: 7b0761f
  290619: 51500bd
  290615: ab3cb20
  290607: 0b26803
  290591: 9d8b7c9
  290559: fb5cd08
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Feb 22, 2012
1 parent 3779026 commit 4fd50bf
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: bcbec9e777cc66fbbeb386c42d8af680fc941da7
refs/heads/master: cf44066a3836847a74f6a0817c680726b796239f
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -3308,6 +3308,7 @@ brcmf_enq_event(struct brcmf_cfg80211_priv *cfg_priv, u32 event,
{
struct brcmf_cfg80211_event_q *e;
s32 err = 0;
ulong flags;

e = kzalloc(sizeof(struct brcmf_cfg80211_event_q), GFP_ATOMIC);
if (!e)
Expand All @@ -3316,9 +3317,9 @@ brcmf_enq_event(struct brcmf_cfg80211_priv *cfg_priv, u32 event,
e->etype = event;
memcpy(&e->emsg, msg, sizeof(struct brcmf_event_msg));

spin_lock_irq(&cfg_priv->evt_q_lock);
spin_lock_irqsave(&cfg_priv->evt_q_lock, flags);
list_add_tail(&e->evt_q_list, &cfg_priv->evt_q_list);
spin_unlock_irq(&cfg_priv->evt_q_lock);
spin_unlock_irqrestore(&cfg_priv->evt_q_lock, flags);

return err;
}
Expand Down

0 comments on commit 4fd50bf

Please sign in to comment.