diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-10-22 09:30:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:39 -0400 |
commit | fea2b8ec8192c62dbf5347c873cb1c8a87717a6a (patch) | |
tree | 2db86e3b47d2b2d28245a3dfdcd757c69d6cf0f9 /drivers/net/wireless/libertas/cmdresp.c | |
parent | 8ec97cc803e1d52022e916074415acaec276288c (diff) |
libertas: move SIOCGIWAP calls to wext.c
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index e3b854cce69c..abd20ea92553 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -27,23 +27,17 @@ | |||
27 | */ | 27 | */ |
28 | void lbs_mac_event_disconnected(struct lbs_private *priv) | 28 | void lbs_mac_event_disconnected(struct lbs_private *priv) |
29 | { | 29 | { |
30 | union iwreq_data wrqu; | ||
31 | |||
32 | if (priv->connect_status != LBS_CONNECTED) | 30 | if (priv->connect_status != LBS_CONNECTED) |
33 | return; | 31 | return; |
34 | 32 | ||
35 | lbs_deb_enter(LBS_DEB_ASSOC); | 33 | lbs_deb_enter(LBS_DEB_ASSOC); |
36 | 34 | ||
37 | memset(wrqu.ap_addr.sa_data, 0x00, ETH_ALEN); | ||
38 | wrqu.ap_addr.sa_family = ARPHRD_ETHER; | ||
39 | |||
40 | /* | 35 | /* |
41 | * Cisco AP sends EAP failure and de-auth in less than 0.5 ms. | 36 | * Cisco AP sends EAP failure and de-auth in less than 0.5 ms. |
42 | * It causes problem in the Supplicant | 37 | * It causes problem in the Supplicant |
43 | */ | 38 | */ |
44 | |||
45 | msleep_interruptible(1000); | 39 | msleep_interruptible(1000); |
46 | wireless_send_event(priv->dev, SIOCGIWAP, &wrqu, NULL); | 40 | lbs_send_disconnect_notification(priv); |
47 | 41 | ||
48 | /* report disconnect to upper layer */ | 42 | /* report disconnect to upper layer */ |
49 | netif_stop_queue(priv->dev); | 43 | netif_stop_queue(priv->dev); |