batctl: dmesg deprecation warnings triggered via "batctl if"
When using "batctl if" to get the interface status then this triggers the following deprecation warnings in dmesg:
[ 5856.277366] batman_adv: [Deprecated]: batctl (pid 5054) Use of sysfs file "iface_status". [ 5856.277366] Use batadv genl family instead
Even though batctl v2019.2 supports netlink for the interface status it prefers the syfs version if available.
This is a regression introduced with batman-adv v2019.2 which happens as long as batman-adv is compiled with CONFIG_BATMAN_ADV_SYSFS=y.
@Sven: Was it an accident to prefer sysfs over netlink for "batctl if" or were there some downsides of the netlink variant?
Updated by Sven Eckelmann over 3 years ago
- Target version set to 2019.3
- Status changed from New to Resolved