diff options
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 525fd7521dff..8169a85c4498 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * Driver for RNDIS based wireless USB devices. | 2 | * Driver for RNDIS based wireless USB devices. |
3 | * | 3 | * |
4 | * Copyright (C) 2007 by Bjorge Dijkstra <bjd@jooz.net> | 4 | * Copyright (C) 2007 by Bjorge Dijkstra <bjd@jooz.net> |
5 | * Copyright (C) 2008-2009 by Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 5 | * Copyright (C) 2008-2009 by Jussi Kivilinna <jussi.kivilinna@iki.fi> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
@@ -2839,8 +2839,7 @@ static void rndis_wlan_do_link_up_work(struct usbnet *usbdev) | |||
2839 | } else if (priv->infra_mode == NDIS_80211_INFRA_ADHOC) | 2839 | } else if (priv->infra_mode == NDIS_80211_INFRA_ADHOC) |
2840 | cfg80211_ibss_joined(usbdev->net, bssid, GFP_KERNEL); | 2840 | cfg80211_ibss_joined(usbdev->net, bssid, GFP_KERNEL); |
2841 | 2841 | ||
2842 | if (info != NULL) | 2842 | kfree(info); |
2843 | kfree(info); | ||
2844 | 2843 | ||
2845 | priv->connected = true; | 2844 | priv->connected = true; |
2846 | memcpy(priv->bssid, bssid, ETH_ALEN); | 2845 | memcpy(priv->bssid, bssid, ETH_ALEN); |