git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfg80211: fix dangling scan request checking
[safe/jmp/linux-2.6]
/
net
/
wireless
/
core.h
diff --git
a/net/wireless/core.h
b/net/wireless/core.h
index
c603f52
..
f565432
100644
(file)
--- a/
net/wireless/core.h
+++ b/
net/wireless/core.h
@@
-50,6
+50,8
@@
struct cfg80211_registered_device {
struct mutex devlist_mtx;
struct list_head netdev_list;
int devlist_generation;
+ int opencount; /* also protected by devlist_mtx */
+ wait_queue_head_t dev_wait;
/* BSSes/scanning */
spinlock_t bss_lock;