def get_secchan_offs(type_, data):
    """http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n927.

    Positional arguments:
    type_ -- corresponding `ieprinters` dictionary key for the instance.
    data -- bytearray data to read.
    """
    if data[0] < len(ht_secondary_offset):
        return "{0} ({1})".format(ht_secondary_offset[data[0]], data[0])
    return "{0}".format(data[0])