[PATCH 1/2] net: mac80211: fix typos in comments

From: Hemanth Selam

Date: Mon Sep 07 2026 - 02:17:41 EST


Fix typos in comments, reported by 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>
---
include/uapi/linux/nl80211-vnd-intel.h | 2 +-
include/uapi/linux/wireless.h | 6 +++---
net/mac80211/cfg.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/uapi/linux/nl80211-vnd-intel.h b/include/uapi/linux/nl80211-vnd-intel.h
index 79ccc9401d50..602862503c2a 100644
--- a/include/uapi/linux/nl80211-vnd-intel.h
+++ b/include/uapi/linux/nl80211-vnd-intel.h
@@ -37,7 +37,7 @@
* 8) The CSME firmware grants ownership
* 9) iwlmei tells iwlwifi to lift the RFKILL
* 10) RFKILL OFF is reported to user space
- * 11) The host boots the device, loads the firwmare, and connects to a
+ * 11) The host boots the device, loads the firmware, and connects to a
* specific BSSID without scanning including IP as fast as it can
* 12) The host reports to the CSME firmware that there is a connection
* 13) The TCP connection is preserved and the host has connectivity
diff --git a/include/uapi/linux/wireless.h b/include/uapi/linux/wireless.h
index 3c2ad5fae17f..28ae6bb0d5e3 100644
--- a/include/uapi/linux/wireless.h
+++ b/include/uapi/linux/wireless.h
@@ -301,7 +301,7 @@
#define SIOCSIWPOWER 0x8B2C /* set Power Management settings */
#define SIOCGIWPOWER 0x8B2D /* get Power Management settings */

-/* WPA : Generic IEEE 802.11 informatiom element (e.g., for WPA/RSN/WMM).
+/* WPA : Generic IEEE 802.11 information element (e.g., for WPA/RSN/WMM).
* This ioctl uses struct iw_point and data buffer that includes IE id and len
* fields. More than one IE may be included in the request. Setting the generic
* IE to empty buffer (len=0) removes the generic IE from the driver. Drivers
@@ -681,7 +681,7 @@ struct iw_param {
__s32 value; /* The value of the parameter itself */
__u8 fixed; /* Hardware should not use auto select */
__u8 disabled; /* Disable the feature */
- __u16 flags; /* Various specifc flags (if any) */
+ __u16 flags; /* Various specific flags (if any) */
};

/*
@@ -1083,7 +1083,7 @@ struct iw_event {
union iwreq_data u; /* IOCTL fixed payload */
};

-/* Size of the Event prefix (including padding and alignement junk) */
+/* Size of the Event prefix (including padding and alignment junk) */
#define IW_EV_LCP_LEN (sizeof(struct iw_event) - sizeof(union iwreq_data))
/* Size of the various events */
#define IW_EV_CHAR_LEN (IW_EV_LCP_LEN + IFNAMSIZ)
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 23f4f9ec86d0..0ce7a7ab769c 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -2870,7 +2870,7 @@ static int ieee80211_change_station(struct wiphy *wiphy,
}
}

- /* NAN capabilties should not change */
+ /* NAN capabilities should not change */
if (statype == CFG80211_STA_NAN_DATA &&
sta->deflink.pub->ht_cap.ht_supported &&
(params->link_sta_params.ht_capa ||
--
2.48.1