struct bat_priv *bat_priv = netdev_priv(to_net_dev(dev));
int aggr_status = atomic_read(&bat_priv->aggregation_enabled);
- return sprintf(buff, "status: %s\ncommands: enable, disable, 0, 1 \n",
+ return sprintf(buff, "status: %s\ncommands: enable, disable, 0, 1\n",
aggr_status == 0 ? "disabled" : "enabled");
}
struct bat_priv *bat_priv = netdev_priv(to_net_dev(dev));
int vis_mode = atomic_read(&bat_priv->vis_mode);
- return sprintf(buff, "status: %s\ncommands: client, server, %d, %d \n",
+ return sprintf(buff, "status: %s\ncommands: client, server, %d, %d\n",
vis_mode == VIS_TYPE_CLIENT_UPDATE ?
"client" : "server",
VIS_TYPE_SERVER_SYNC, VIS_TYPE_CLIENT_UPDATE);
if (!batman_if)
return 0;
- return sprintf(buff, "status: %s\ncommands: none, bat0 \n",
+ return sprintf(buff, "status: %s\ncommands: none, bat0\n",
batman_if->if_status == IF_NOT_IN_USE ?
"none" : "bat0");
}