aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-05-05 16:14:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-05 16:14:16 -0400
commit83163244f845c296a118ce85c653872dbff6abfe (patch)
treece2eac695a1c198f23d537e20ed86c16ece21f7e /drivers/net/wireless/mac80211_hwsim.c
parent0a12761bcd5646691c5d16dd93df84d1b8849285 (diff)
parentadfba3c7c026a6a5560d2a43fefc9b198cb74462 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts: drivers/net/wireless/libertas_tf/cmd.c drivers/net/wireless/libertas_tf/main.c
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 6f0d8c9fa933..9fd2beadb6f5 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -974,6 +974,7 @@ static void hw_scan_done(struct work_struct *work)
974} 974}
975 975
976static int mac80211_hwsim_hw_scan(struct ieee80211_hw *hw, 976static int mac80211_hwsim_hw_scan(struct ieee80211_hw *hw,
977 struct ieee80211_vif *vif,
977 struct cfg80211_scan_request *req) 978 struct cfg80211_scan_request *req)
978{ 979{
979 struct hw_scan_done *hsd = kzalloc(sizeof(*hsd), GFP_KERNEL); 980 struct hw_scan_done *hsd = kzalloc(sizeof(*hsd), GFP_KERNEL);
@@ -1020,7 +1021,7 @@ static void mac80211_hwsim_sw_scan_complete(struct ieee80211_hw *hw)
1020 mutex_lock(&hwsim->mutex); 1021 mutex_lock(&hwsim->mutex);
1021 1022
1022 printk(KERN_DEBUG "hwsim sw_scan_complete\n"); 1023 printk(KERN_DEBUG "hwsim sw_scan_complete\n");
1023 hwsim->scanning = true; 1024 hwsim->scanning = false;
1024 1025
1025 mutex_unlock(&hwsim->mutex); 1026 mutex_unlock(&hwsim->mutex);
1026} 1027}
@@ -1299,7 +1300,8 @@ static int __init init_mac80211_hwsim(void)
1299 hw->flags = IEEE80211_HW_MFP_CAPABLE | 1300 hw->flags = IEEE80211_HW_MFP_CAPABLE |
1300 IEEE80211_HW_SIGNAL_DBM | 1301 IEEE80211_HW_SIGNAL_DBM |
1301 IEEE80211_HW_SUPPORTS_STATIC_SMPS | 1302 IEEE80211_HW_SUPPORTS_STATIC_SMPS |
1302 IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS; 1303 IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS |
1304 IEEE80211_HW_AMPDU_AGGREGATION;
1303 1305
1304 /* ask mac80211 to reserve space for magic */ 1306 /* ask mac80211 to reserve space for magic */
1305 hw->vif_data_size = sizeof(struct hwsim_vif_priv); 1307 hw->vif_data_size = sizeof(struct hwsim_vif_priv);