projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e12a92
)
net: wireless: bcmdhd: Fix crash if event queue is empty
author
Dmitry Shmidt
<dimitrysh@google.com>
Mon, 11 Jul 2011 17:48:09 +0000
(10:48 -0700)
committer
mgross
<mark.gross@intel.com>
Wed, 9 Nov 2011 20:09:57 +0000
(12:09 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index
d9c7e65
..
ef5cd47
100644
(file)
--- a/
drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/
drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@
-4892,8
+4892,8
@@
static s32 wl_event_handler(void *data)
break;
e = wl_deq_event(wl);
if (unlikely(!e)) {
- WL_ERR(("eqeue empty..\n"));
-
BUG()
;
+ WL_ERR(("eq
u
eue empty..\n"));
+
return 0
;
}
WL_DBG(("event type (%d), if idx: %d\n", e->etype, e->emsg.ifidx));
netdev = dhd_idx2net((struct dhd_pub *)(wl->pub), e->emsg.ifidx);