mirror of
https://github.com/opnsense/src.git
synced 2026-05-14 10:13:48 -04:00
iwnstats was not compiling because of some issues raised by the clang
compiler due to -Werror. As a tool it is not connected to world build.
Add missing field "barker_mrc" initialization in struct
iwn_sensitivity_limits for -Wmissing-field-initializers, remove unused
pointer *is on iwn_stats_*_print functions and unused variables for
-Wunused-parameter and -Wunused-variable.
The value for field "barker_mrc" of struct iwn2030_sensitivity_limits
was obtained from linux 3.2 wireless/iwlwifi driver code (iwl-2000.c:115
.barker_corr_th_min_mrc = 390).
Also set BINDIR in Makefile to make it possible to install under
/usr/local/sbin/iwnstats as it require super user.
Reviewed by: adrian
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29800
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| if_iwn.c | ||
| if_iwn_chip_cfg.h | ||
| if_iwn_debug.h | ||
| if_iwn_devid.h | ||
| if_iwn_ioctl.h | ||
| if_iwnreg.h | ||
| if_iwnvar.h | ||