[PATCH wpan-next v2 2/2] mac802154: fix typo "substract" in comment
From: Hemanth Selam
Date: Mon Sep 07 2026 - 05:59:54 EST
Fix a typo in comments, found with scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
---
Notes:
v2: designate the patch to wpan-next and use a subject prefix naming the
component, as maintainer-netdev.rst asks; v1 went out with a bare
[PATCH] and a "net:" prefix. Rebased onto wpan-next, diff unchanged.
v1: https://lore.kernel.org/all/20260907064346.3288-1-hemanth.selam@xxxxxxxxx/
net/mac802154/iface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac802154/iface.c b/net/mac802154/iface.c
index 000be60d9580..8f3968d2e516 100644
--- a/net/mac802154/iface.c
+++ b/net/mac802154/iface.c
@@ -521,7 +521,7 @@ static void ieee802154_if_setup(struct net_device *dev)
/* Let hard_header_len set to IEEE802154_MIN_HEADER_LEN. AF_PACKET
* will not send frames without any payload, but ack frames
- * has no payload, so substract one that we can send a 3 bytes
+ * has no payload, so subtract one that we can send a 3 bytes
* frame. The xmit callback assumes at least a hard header where two
* bytes fc and sequence field are set.
*/