Search Linux Wireless

Re: [PATCH] nl80211: Count only ssid attr to know number of match sets

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

 



On Thu, 2014-01-23 at 09:57 +0530, Raja Mani wrote:
> NL80211_ATTR_SCHED_SCAN_MATCH can have NL80211_SCHED_SCAN_MATCH_ATTR_SSID
> as well as NL80211_SCHED_SCAN_MATCH_ATTR_RSSI in it. Each nested attributes
> which are part of NL80211_ATTR_SCHED_SCAN_MATCH are counted to find out
> number of match sets in nl80211_start_sched_scan().
> 
> This is the problem if NL80211_SCHED_SCAN_MATCH_ATTR_RSSI also part of
> NL80211_ATTR_SCHED_SCAN_MATCH. Fix this incorrect calculation by considering
> only NL80211_SCHED_SCAN_MATCH_ATTR_SSID to know match set count.

Err, you failed to explain *why* this is a problem. I'm not even
convinced you're right anyway.

johannes

--
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