summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/commands.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2009-09-01 15:14:01 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-09-01 18:48:27 +0200
commitde15fd31fcabb4b81a556736dd67ec4f71462f07 (patch)
tree8ed270f543c6518beb732642022ebf1eacefd45f /drivers/net/wireless/iwmc3200wifi/commands.c
parentiwmc3200wifi: Fix sparse warning (diff)
downloadlinux-de15fd31fcabb4b81a556736dd67ec4f71462f07.tar.xz
linux-de15fd31fcabb4b81a556736dd67ec4f71462f07.zip
iwmc3200wifi: use cfg80211_roamed to send roam event
The device sends connection terminated and [re]association success (or failure) events when roaming occours. The patch uses cfg80211_roamed instead of cfg80211_connect_result to notify SME for roaming. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/commands.c')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/commands.c b/drivers/net/wireless/iwmc3200wifi/commands.c
index a68a2aff3c1e..23b52fa2605f 100644
--- a/drivers/net/wireless/iwmc3200wifi/commands.c
+++ b/drivers/net/wireless/iwmc3200wifi/commands.c
@@ -756,6 +756,7 @@ int iwm_send_mlme_profile(struct iwm_priv *iwm)
return ret;
}
+ set_bit(IWM_STATUS_SME_CONNECTING, &iwm->status);
return 0;
}