diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-04-28 11:44:52 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-10 18:08:53 -0400 |
commit | 1fa61b2e793dad51271c7ce39377daade51261d7 (patch) | |
tree | 1165dc3d721f1db83a459687b70bb3b4fdfafec9 /drivers/net/wireless/iwlwifi/iwl-agn.h | |
parent | c0222df86e55576ef879795b5a158c46e6653f07 (diff) |
iwlwifi: manage IBSS station properly
Currently iwlwifi will eventually exhaust the station
table when adding the BSSID station for IBSS mode,
unless the interface is set down.
The new mac80211 ibss joined/left notification allows
us to fix that easily by moving the code to add the
IBSS station to the notification, and also adding
code to remove it again when we leave the IBSS.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/iwl-agn.h index cfee9994383e..a9ba9fc6740a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.h +++ b/drivers/net/wireless/iwlwifi/iwl-agn.h | |||
@@ -174,4 +174,8 @@ static inline bool iwl_is_tx_success(u32 status) | |||
174 | /* scan */ | 174 | /* scan */ |
175 | void iwlagn_request_scan(struct iwl_priv *priv); | 175 | void iwlagn_request_scan(struct iwl_priv *priv); |
176 | 176 | ||
177 | /* station mgmt */ | ||
178 | int iwlagn_manage_ibss_station(struct iwl_priv *priv, | ||
179 | struct ieee80211_vif *vif, bool add); | ||
180 | |||
177 | #endif /* __iwl_agn_h__ */ | 181 | #endif /* __iwl_agn_h__ */ |