Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205933
b: refs/heads/master
c: c9b4d3e
h: refs/heads/master
i:
  205931: f0b11ef
v: v3
  • Loading branch information
Florian Schilhabel authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent dab7820 commit 4bee2b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: 26cc71540ab80714f7635139526b4c0cb6fe465d
refs/heads/master: c9b4d3ea110bea625b9f014824d2dc479f3d0d97
11 changes: 10 additions & 1 deletion trunk/drivers/staging/rtl8192su/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,6 +1606,16 @@ static short probe_rq_parse(struct ieee80211_device *ieee, struct sk_buff *skb,
if (skb->len < sizeof (struct ieee80211_hdr_3addr ))
return -1; /* corrupted */

if((memcmp(header->addr3,ieee->current_network.bssid,ETH_ALEN) != 0)&&
(memcmp(header->addr3,"\xff\xff\xff\xff\xff\xff",ETH_ALEN) != 0)) {
return -1;
}

if(memcmp(header->addr3,ieee->current_network.bssid,ETH_ALEN) == 0) {
}

if(memcmp(header->addr3,"\xff\xff\xff\xff\xff\xff",ETH_ALEN) == 0) {
}
memcpy(src,header->addr2, ETH_ALEN);

skbend = (u8*)skb->data + skb->len;
Expand All @@ -1623,7 +1633,6 @@ static short probe_rq_parse(struct ieee80211_device *ieee, struct sk_buff *skb,
tag++; /* point to the next tag */
}

//IEEE80211DMESG("Card MAC address is "MACSTR, MAC2STR(src));
if (ssidlen == 0) return 1;

if (!ssid) return 1; /* ssid not found in tagged param */
Expand Down

0 comments on commit 4bee2b0

Please sign in to comment.