summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2022-06-28 18:31:30 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-07-03 11:34:34 +0200
commit52f9ac85b8766d16021775f2c1bb85a903a582ff (patch)
treebc8adf21ae467586051878b6e3a352030c4a2058 /net/lapb/lapb_subr.c
parentc4e54b063f42f20a6b3ad1ffa61c574e631e0216 (diff)
can: slcan: allow to send commands to the adapter
This is a preparation patch for the upcoming support to change the bitrate via ip tool, reset the adapter error states via the ethtool API and, more generally, send commands to the adapter. Since the close command (i. e. "C\r") will be sent in the ndo_stop() where netif_running() returns false, a new flag bit (i. e. SLF_XCMD) for serial transmission has to be added. Link: https://lore.kernel.org/all/20220628163137.413025-7-dario.binacchi@amarulasolutions.com Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Tested-by: Jeroen Hofstee <jhofstee@victronenergy.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions