aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/wext.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-08-21 17:46:18 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-29 16:24:06 -0400
commit191bb40e725304c5fcfabd92c57eef58799f0e25 (patch)
treea64e66713495e39f74f088209d4b558628c214aa /drivers/net/wireless/libertas/wext.c
parent87c8c72d532f96257162f978d5945dcf7f0df19e (diff)
libertas: convert CMD_802_11_DEAUTHENTICATE to a direct command
and remove DISASSOCIATE because it's not in any of the specs and has never been used. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r--drivers/net/wireless/libertas/wext.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c
index 10a806666001..38295ee1a05f 100644
--- a/drivers/net/wireless/libertas/wext.c
+++ b/drivers/net/wireless/libertas/wext.c
@@ -986,7 +986,9 @@ static int lbs_mesh_set_freq(struct net_device *dev,
986 if (fwrq->m != priv->curbssparams.channel) { 986 if (fwrq->m != priv->curbssparams.channel) {
987 lbs_deb_wext("mesh channel change forces eth disconnect\n"); 987 lbs_deb_wext("mesh channel change forces eth disconnect\n");
988 if (priv->mode == IW_MODE_INFRA) 988 if (priv->mode == IW_MODE_INFRA)
989 lbs_send_deauthentication(priv); 989 lbs_cmd_80211_deauthenticate(priv,
990 priv->curbssparams.bssid,
991 WLAN_REASON_DEAUTH_LEAVING);
990 else if (priv->mode == IW_MODE_ADHOC) 992 else if (priv->mode == IW_MODE_ADHOC)
991 lbs_stop_adhoc_network(priv); 993 lbs_stop_adhoc_network(priv);
992 } 994 }