aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-10-22 09:30:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:39 -0400
commitfea2b8ec8192c62dbf5347c873cb1c8a87717a6a (patch)
tree2db86e3b47d2b2d28245a3dfdcd757c69d6cf0f9 /drivers/net/wireless/libertas/main.c
parent8ec97cc803e1d52022e916074415acaec276288c (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/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index eb61f6955e9e..01f46cf288d7 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -1227,7 +1227,6 @@ EXPORT_SYMBOL_GPL(lbs_add_card);
1227void lbs_remove_card(struct lbs_private *priv) 1227void lbs_remove_card(struct lbs_private *priv)
1228{ 1228{
1229 struct net_device *dev = priv->dev; 1229 struct net_device *dev = priv->dev;
1230 union iwreq_data wrqu;
1231 1230
1232 lbs_deb_enter(LBS_DEB_MAIN); 1231 lbs_deb_enter(LBS_DEB_MAIN);
1233 1232
@@ -1252,9 +1251,7 @@ void lbs_remove_card(struct lbs_private *priv)
1252 lbs_ps_wakeup(priv, CMD_OPTION_WAITFORRSP); 1251 lbs_ps_wakeup(priv, CMD_OPTION_WAITFORRSP);
1253 } 1252 }
1254 1253
1255 memset(wrqu.ap_addr.sa_data, 0xaa, ETH_ALEN); 1254 lbs_send_disconnect_notification(priv);
1256 wrqu.ap_addr.sa_family = ARPHRD_ETHER;
1257 wireless_send_event(priv->dev, SIOCGIWAP, &wrqu, NULL);
1258 1255
1259 if (priv->is_deep_sleep) { 1256 if (priv->is_deep_sleep) {
1260 priv->is_deep_sleep = 0; 1257 priv->is_deep_sleep = 0;