summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/cfg80211.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 12:48:27 -0400
commitde15fd31fcabb4b81a556736dd67ec4f71462f07 (patch)
tree8ed270f543c6518beb732642022ebf1eacefd45f /drivers/net/wireless/iwmc3200wifi/cfg80211.c
parentd041811d931d4f515fd58e222757cbc7d6375db4 (diff)
downloadop-kernel-dev-de15fd31fcabb4b81a556736dd67ec4f71462f07.zip
op-kernel-dev-de15fd31fcabb4b81a556736dd67ec4f71462f07.tar.gz
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/cfg80211.c')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
index 2784b08..a56a2b0 100644
--- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c
+++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
@@ -673,7 +673,7 @@ static int iwm_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev,
IWM_DBG_WEXT(iwm, DBG, "Active: %d\n", iwm->umac_profile_active);
if (iwm->umac_profile_active)
- return iwm_invalidate_mlme_profile(iwm);
+ iwm_invalidate_mlme_profile(iwm);
return 0;
}
OpenPOWER on IntegriCloud