> + if (!tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) > + printf(" (%.1f dBm)", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER])); You need to check whether that attribute is present too otherwise iw will segfault on kernels that don't have it, I've fixed that and committed it, thanks. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part