aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/wext.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/wext.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/wext.c')
-rw-r--r--drivers/net/wireless/libertas/wext.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c
index 18c045bcc947..dc63b33b01f0 100644
--- a/drivers/net/wireless/libertas/wext.c
+++ b/drivers/net/wireless/libertas/wext.c
@@ -45,6 +45,15 @@ static inline void lbs_cancel_association_work(struct lbs_private *priv)
45 priv->pending_assoc_req = NULL; 45 priv->pending_assoc_req = NULL;
46} 46}
47 47
48void lbs_send_disconnect_notification(struct lbs_private *priv)
49{
50 union iwreq_data wrqu;
51
52 memset(wrqu.ap_addr.sa_data, 0x00, ETH_ALEN);
53 wrqu.ap_addr.sa_family = ARPHRD_ETHER;
54 wireless_send_event(priv->dev, SIOCGIWAP, &wrqu, NULL);
55}
56
48void lbs_send_iwevcustom_event(struct lbs_private *priv, s8 *str) 57void lbs_send_iwevcustom_event(struct lbs_private *priv, s8 *str)
49{ 58{
50 union iwreq_data iwrq; 59 union iwreq_data iwrq;