Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291134
b: refs/heads/master
c: b26e395
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and John W. Linville committed Mar 5, 2012
1 parent 0f2a0d7 commit b9c7811
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 41eedf39dfb145fb8fa04cd5b799f7bdc7679696
refs/heads/master: b26e395038a219685c7f78f3be8aeb578c4a5b60
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/rndis_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1790,9 +1790,8 @@ static struct ndis_80211_pmkid *remove_pmkid(struct usbnet *usbdev,
struct cfg80211_pmksa *pmksa,
int max_pmkids)
{
int i, len, count, newlen, err;
int i, count, newlen, err;

len = le32_to_cpu(pmkids->length);
count = le32_to_cpu(pmkids->bssid_info_count);

if (count > max_pmkids)
Expand Down Expand Up @@ -1831,9 +1830,8 @@ static struct ndis_80211_pmkid *update_pmkid(struct usbnet *usbdev,
struct cfg80211_pmksa *pmksa,
int max_pmkids)
{
int i, err, len, count, newlen;
int i, err, count, newlen;

len = le32_to_cpu(pmkids->length);
count = le32_to_cpu(pmkids->bssid_info_count);

if (count > max_pmkids)
Expand Down

0 comments on commit b9c7811

Please sign in to comment.