/* Scan a list of BSSIDs to process for finalize join. Allows for extension to process multiple BSSIDs.  */
static int mwl8k_capture_bssid(struct mwl8k_priv *priv, struct ieee80211_hdr *wh)
/* Scan a list of BSSIDs to process for finalize join. Allows for extension to process multiple BSSIDs.  */
static int mwl8k_capture_bssid(struct mwl8k_priv *priv, struct ieee80211_hdr *wh)
{
	return priv->capture_beacon &&
		ieee80211_is_beacon(wh->frame_control) &&
		!compare_ether_addr(wh->addr3, priv->capture_bssid);
}