On Monday, August 29, 2011 16:30:41 Alexander Simon wrote: > + if (channel) { > + if (bss->pub.channel != channel) > + continue; > + if (check_ht) { > + struct ieee80211_ht_info *ht_info; > + ht_info = (struct ieee80211_ht_info *) > + ieee80211_bss_get_ie(&bss->pub, > + WLAN_EID_HT_INFORMATION); > + if (!ht_info) > + continue; > + if (ht_mode == NL80211_CHAN_HT40MINUS && > + !(ht_info->ht_param & > + IEEE80211_HT_PARAM_CHA_SEC_BELOW)) > + continue; > + if (ht_mode == NL80211_CHAN_HT40PLUS && > + !(ht_info->ht_param & > + IEEE80211_HT_PARAM_CHA_SEC_ABOVE)) > + continue; > + } > + } What is the idea behind only checking the ht mode if a channel was specified ? Is see no immediate need for this dependency - maybe I overlooked something ? Cheers, Marek -- 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