Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193727
b: refs/heads/master
c: ea29d65
h: refs/heads/master
i:
  193725: 1d7165a
  193723: 07c5410
  193719: 27bc768
  193711: 5ac95a2
  193695: f158812
  193663: 5e77599
v: v3
  • Loading branch information
Jussi Kivilinna authored and John W. Linville committed Mar 10, 2010
1 parent b1bc995 commit 6d21780
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80f8c5b434f94926c6489d7350d58aecb53ab70f
refs/heads/master: ea29d65ea4e7585a5ac94f7ec0069d384315bd77
14 changes: 0 additions & 14 deletions trunk/drivers/net/wireless/rndis_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,13 +476,7 @@ struct rndis_wlan_private {
/* encryption stuff */
int encr_tx_key_index;
struct rndis_wlan_encr_key encr_keys[4];
enum nl80211_auth_type wpa_auth_type;
int wpa_version;
int wpa_keymgmt;
int wpa_ie_len;
u8 *wpa_ie;
int wpa_cipher_pair;
int wpa_cipher_group;

u8 command_buffer[COMMAND_BUFFER_SIZE];
};
Expand Down Expand Up @@ -1116,8 +1110,6 @@ static int set_auth_mode(struct usbnet *usbdev, u32 wpa_version,
}

priv->wpa_version = wpa_version;
priv->wpa_auth_type = auth_type;
priv->wpa_keymgmt = keymgmt;

return 0;
}
Expand All @@ -1142,7 +1134,6 @@ static int set_priv_filter(struct usbnet *usbdev)

static int set_encr_mode(struct usbnet *usbdev, int pairwise, int groupwise)
{
struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev);
__le32 tmp;
int encr_mode, ret;

Expand Down Expand Up @@ -1171,8 +1162,6 @@ static int set_encr_mode(struct usbnet *usbdev, int pairwise, int groupwise)
return ret;
}

priv->wpa_cipher_pair = pairwise;
priv->wpa_cipher_group = groupwise;
return 0;
}

Expand Down Expand Up @@ -2871,9 +2860,6 @@ static void rndis_wlan_unbind(struct usbnet *usbdev, struct usb_interface *intf)
flush_workqueue(priv->workqueue);
destroy_workqueue(priv->workqueue);

if (priv && priv->wpa_ie_len)
kfree(priv->wpa_ie);

rndis_unbind(usbdev, intf);

wiphy_unregister(priv->wdev.wiphy);
Expand Down

0 comments on commit 6d21780

Please sign in to comment.