In the ethtool stats patches, I'm trying to get the survey for just the current operating channel. (Previously posted code is wrong..can't just use index 0, duh!) I know the channel object: local->oper_channel but the API that gets survey results wants the channel index. Is there a fast way to get the channel index from a channel, or do I just need to iterate through all channels and compare the center-frequencies? Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com -- 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