diff options
-rw-r--r-- | hardinfo2/arch/linux/common/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo2/arch/linux/common/net.h b/hardinfo2/arch/linux/common/net.h index bf29a5cc..de978ee1 100644 --- a/hardinfo2/arch/linux/common/net.h +++ b/hardinfo2/arch/linux/common/net.h @@ -148,6 +148,8 @@ void get_wireless_info(int fd, NetInfo *netinfo) memcpy(&netinfo->wi_txpower, &wi_req.u.txpower, sizeof(struct iw_param)); } +#else + netinfo->wi_has_txpower = FALSE; #endif /* WIRELESS_EXT >= 10 */ } #endif /* HAS_LINUX_WE */ |