diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-16 22:37:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 22:37:51 -0400 |
commit | 8c95b4773dd8d0415269ffad7301ef96d75be8ee (patch) | |
tree | 996401ce91c2a652fcff690e2c8bf88f2014d307 /net/mac80211/ieee80211_i.h | |
parent | bcff122d478b774f4fd5262f35eedebe2f2fb274 (diff) | |
parent | 30b89b0f5e1313c8a5a039abeaa89248b6338d81 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6.26
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index c642538e8282..8e53ce7ed444 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -102,7 +102,7 @@ struct ieee80211_sta_bss { | |||
102 | u64 timestamp; | 102 | u64 timestamp; |
103 | int beacon_int; | 103 | int beacon_int; |
104 | 104 | ||
105 | int probe_resp; | 105 | bool probe_resp; |
106 | unsigned long last_update; | 106 | unsigned long last_update; |
107 | 107 | ||
108 | /* during assocation, we save an ERP value from a probe response so | 108 | /* during assocation, we save an ERP value from a probe response so |
@@ -600,8 +600,7 @@ struct ieee80211_local { | |||
600 | /* | 600 | /* |
601 | * The lock only protects the list, hash, timer and counter | 601 | * The lock only protects the list, hash, timer and counter |
602 | * against manipulation, reads are done in RCU. Additionally, | 602 | * against manipulation, reads are done in RCU. Additionally, |
603 | * the lock protects each BSS's TIM bitmap, a few items in | 603 | * the lock protects each BSS's TIM bitmap. |
604 | * STA info structures and various key pointers. | ||
605 | */ | 604 | */ |
606 | spinlock_t sta_lock; | 605 | spinlock_t sta_lock; |
607 | unsigned long num_sta; | 606 | unsigned long num_sta; |
@@ -635,6 +634,13 @@ struct ieee80211_local { | |||
635 | 634 | ||
636 | struct list_head interfaces; | 635 | struct list_head interfaces; |
637 | 636 | ||
637 | /* | ||
638 | * Key lock, protects sdata's key_list and sta_info's | ||
639 | * key pointers (write access, they're RCU.) | ||
640 | */ | ||
641 | spinlock_t key_lock; | ||
642 | |||
643 | |||
638 | bool sta_sw_scanning; | 644 | bool sta_sw_scanning; |
639 | bool sta_hw_scanning; | 645 | bool sta_hw_scanning; |
640 | int scan_channel_idx; | 646 | int scan_channel_idx; |