Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119763
b: refs/heads/master
c: 5cf12e8
h: refs/heads/master
i:
  119761: cd3be49
  119759: bc5afd7
v: v3
  • Loading branch information
Shaddy Baddah authored and John W. Linville committed Dec 5, 2008
1 parent 31308d2 commit 0fcd1bd
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b8ddafd759e356c839774a8b87011b768deb53b3
refs/heads/master: 5cf12e8dc641ef028f0cf9c317a9567e6b794de1
2 changes: 1 addition & 1 deletion trunk/net/mac80211/sta_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct sta_info *sta_info_get(struct ieee80211_local *local, const u8 *addr)

sta = rcu_dereference(local->sta_hash[STA_HASH(addr)]);
while (sta) {
if (compare_ether_addr(sta->sta.addr, addr) == 0)
if (memcmp(sta->sta.addr, addr, ETH_ALEN) == 0)
break;
sta = rcu_dereference(sta->hnext);
}
Expand Down

0 comments on commit 0fcd1bd

Please sign in to comment.