Search Linux Wireless

Re: [PATCH] ath6kl: Include match ssid list in scheduled scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/16/2012 01:29 PM, Kalle Valo wrote:

> +			if ((match_set[i].ssid.ssid_len ==
> +			     ssid_list[j].ssid.ssid_len) &&
> +			    (!memcmp(ssid_list[j].ssid.ssid,
> +				     match_set[i].ssid.ssid,
> +				     match_set[i].ssid.ssid_len))) {
> +				ssid_list[j].flag |= MATCH_SSID_FLAG;
> +				ssid_found = true;
> +				break;
> +			}

Do we have a function like ieee80211_is_same_ssid()? I didn't find
anything like that after a quick search.

I noticed that wlcore had a similar code like we have here. A common
function in cfg80211.h/ieee80211.h for comparing ssids would be nice and
less error prone.

Kalle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux