All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Questionable use of curbssid.
@ 2011-01-13 22:16 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2011-01-13 22:16 UTC (permalink / raw)
  To: ath9k-devel

It seems that several places are comparing against
curbssid, but when using multiple VIFS (and a bssid mask),
perhaps we should take the mask into consideration??

For instance:

static void ath9k_process_rssi(struct ath_common *common,
			       struct ieee80211_hw *hw,
			       struct ieee80211_hdr *hdr,
			       struct ath_rx_status *rx_stats)
{
	struct ath_wiphy *aphy = hw->priv;
	struct ath_hw *ah = common->ah;
	int last_rssi;
	__le16 fc;

	if (ah->opmode != NL80211_IFTYPE_STATION)
		return;

	fc = hdr->frame_control;
	if (!ieee80211_is_beacon(fc) ||
	    compare_ether_addr(hdr->addr3, common->curbssid))
		return;

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-13 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13 22:16 [ath9k-devel] Questionable use of curbssid Ben Greear

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.