[PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior

Hungyu Lin posted 1 patch 1 day, 7 hours ago
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior
Posted by Hungyu Lin 1 day, 7 hours ago
rmnet_map_command() only sends ACK responses for supported
commands. Unsupported commands are dropped without sending
a response.

Update the comment to reflect the current behavior.

Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
---
 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
index add0f5ade2e6..c1c3d4fc7a99 100644
--- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
+++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
@@ -69,8 +69,8 @@ static void rmnet_map_send_ack(struct sk_buff *skb,
 	netif_tx_unlock(dev);
 }
 
-/* Process MAP command frame and send N/ACK message as appropriate. Message cmd
- * name is decoded here and appropriate handler is called.
+/* Process MAP command frame and send ACK message for supported commands.
+ * Message cmd name is decoded here and the appropriate handler is called.
  */
 void rmnet_map_command(struct sk_buff *skb, struct rmnet_port *port)
 {
-- 
2.34.1