summaryrefslogtreecommitdiff
path: root/Documentation/networking/j1939.rst
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-11-21 10:47:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-17 19:48:28 +0100
commitec694e9e3b05feb2fd8306edb4fed24ffc703393 (patch)
tree20cabeb30af1c236083f1c125ad4a9e02602fc19 /Documentation/networking/j1939.rst
parent233fe5963d4ac82ea8b6435c5c9a3b2b3879f890 (diff)
can: j1939: fix address claim code example
commit 8ac9d71d601374222a230804e419cd40c4492e1c upstream. During development the define J1939_PGN_ADDRESS_REQUEST was renamed to J1939_PGN_REQUEST. It was forgotten to adjust the documentation accordingly. This patch fixes the name of the symbol. Reported-by: https://github.com/linux-can/can-utils/issues/159#issuecomment-556538798 Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Cc: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/networking/j1939.rst')
-rw-r--r--Documentation/networking/j1939.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/j1939.rst b/Documentation/networking/j1939.rst
index dc60b13fcd09..f5be243d250a 100644
--- a/Documentation/networking/j1939.rst
+++ b/Documentation/networking/j1939.rst
@@ -339,7 +339,7 @@ To claim an address following code example can be used:
.pgn = J1939_PGN_ADDRESS_CLAIMED,
.pgn_mask = J1939_PGN_PDU1_MAX,
}, {
- .pgn = J1939_PGN_ADDRESS_REQUEST,
+ .pgn = J1939_PGN_REQUEST,
.pgn_mask = J1939_PGN_PDU1_MAX,
}, {
.pgn = J1939_PGN_ADDRESS_COMMANDED,