On Mon, 2012-04-30 at 14:20 -0700, Ashok Nagarajan wrote:

> -         (local->_oper_channel_type !=
> -          ieee80211_ht_oper_to_channel_type(ie->ht_operation)))
> +         local->_oper_channel_type > NL80211_CHAN_HT20 &&
> +         sta_channel_type > NL80211_CHAN_HT20 &&
> +         local->_oper_channel_type != sta_channel_type)

I don't think you should use > operators since we may later have to add
other channel types like 5 and 10 MHz.

johannes

_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to