X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fmac80211%2Fsta_info.c;h=d254446b85b59d76bf3d940fce4364270a2d5bb0;hb=5cf12e8dc641ef028f0cf9c317a9567e6b794de1;hp=7fef8ea1f5ecf53eaf5b1596479ef1d8a834b348;hpb=b8ddafd759e356c839774a8b87011b768deb53b3;p=linux-2.6-omap-h63xx.git diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 7fef8ea1f5e..d254446b85b 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c @@ -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); }