summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-04-16 15:00:58 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-04-17 21:27:13 +0200
commitcd1658f592a60d028dd2e48d86724b737a82cab0 (patch)
tree1ab6ca94c78fa9281e1d4fb12d9e8b85a69f93fc /net/wireless/core.h
parentcfg80211: copy hold when replacing BSS (diff)
downloadlinux-cd1658f592a60d028dd2e48d86724b737a82cab0.tar.xz
linux-cd1658f592a60d028dd2e48d86724b737a82cab0.zip
cfg80211: do not replace BSS structs
Instead, allocate extra IE memory if necessary. Normally, this isn't even necessary since there's enough space. This is a better way of correcting the "held BSS can disappear" issue, but also a lot more code. It is also necessary for proper auth/assoc BSS handling in the future. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index d43daa236ef9..0a592e4295f0 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -90,7 +90,7 @@ struct cfg80211_internal_bss {
struct rb_node rbn;
unsigned long ts;
struct kref ref;
- bool hold;
+ bool hold, ies_allocated;
/* must be last because of priv member */
struct cfg80211_bss pub;