]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: ath6kl: Fix spellings
authorSumanth Gavini <sumanth.gavini@yahoo.com>
Thu, 22 May 2025 20:56:53 +0000 (13:56 -0700)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 27 Jun 2025 14:42:45 +0000 (07:42 -0700)
Fix misspelling reported by codespell.

Signed-off-by: Sumanth Gavini <sumanth.gavini@yahoo.com>
Link: https://patch.msgid.link/20250522205701.393612-1-sumanth.gavini@yahoo.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.c
drivers/net/wireless/ath/ath6kl/hif.c
drivers/net/wireless/ath/ath6kl/htc.h
drivers/net/wireless/ath/ath6kl/htc_mbox.c
drivers/net/wireless/ath/ath6kl/htc_pipe.c
drivers/net/wireless/ath/ath6kl/init.c
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/sdio.c
drivers/net/wireless/ath/ath6kl/usb.c
drivers/net/wireless/ath/ath6kl/wmi.c
drivers/net/wireless/ath/ath6kl/wmi.h

index 4f0a7a185fc91a1d0e1ab81e77f15ae56d73dda2..830350bda5318fa3621c20fc775bbe2e6923edc7 100644 (file)
@@ -91,7 +91,7 @@ int ath6kl_core_init(struct ath6kl *ar, enum ath6kl_htc_type htc_type)
 
        /*
         * Turn on power to get hardware (target) version and leave power
-        * on delibrately as we will boot the hardware anyway within few
+        * on deliberately as we will boot the hardware anyway within few
         * seconds.
         */
        ret = ath6kl_hif_power_on(ar);
index d1942537ea108748031ca1e89323246985a495e0..c693783bb9deb13a6b055b2b1bd22335ad5d3cbd 100644 (file)
@@ -513,7 +513,7 @@ static int proc_pending_irqs(struct ath6kl_device *dev, bool *done)
 out:
        /*
         * An optimization to bypass reading the IRQ status registers
-        * unecessarily which can re-wake the target, if upper layers
+        * unnecessarily which can re-wake the target, if upper layers
         * determine that we are in a low-throughput mode, we can rely on
         * taking another interrupt rather than re-checking the status
         * registers which can re-wake the target.
index d3534a29c4f059a5e9616aeadf86cafc61ab5c6a..d61be202677cc67993e33cbbaf7ae4762d8a9e61 100644 (file)
@@ -485,7 +485,7 @@ struct htc_endpoint_stats {
        /* count of credits received via another endpoint */
        u32 cred_from_ep0;
 
-       /* count of consummed credits */
+       /* count of consumed credits */
        u32 cred_cosumd;
 
        /* count of credits returned */
@@ -596,7 +596,7 @@ struct htc_target {
        /* protects free_ctrl_txbuf and free_ctrl_rxbuf */
        spinlock_t htc_lock;
 
-       /* FIXME: does this protext rx_bufq and endpoint structures or what? */
+       /* FIXME: does this protect rx_bufq and endpoint structures or what? */
        spinlock_t rx_lock;
 
        /* protects endpoint->txq */
@@ -624,7 +624,7 @@ struct htc_target {
 
        int chk_irq_status_cnt;
 
-       /* counts the number of Tx without bundling continously per AC */
+       /* counts the number of Tx without bundling continuously per AC */
        u32 ac_tx_count[WMM_NUM_AC];
 
        struct {
index f8a94d764be6045bea5b4b4996420e96c58f18f8..122e07ef3965cff447902a3aa3966efa04b95b7a 100644 (file)
@@ -938,7 +938,7 @@ static void ath6kl_htc_tx_from_queue(struct htc_target *target,
 
                /*
                 * if an AC has bundling disabled and no tx bundling
-                * has occured continously for a certain number of TX,
+                * has occurred continuously for a certain number of TX,
                 * enable tx bundling for this AC
                 */
                if (!bundle_sent) {
index 2f2edfe437618b27b355d8a1ef0976a62521ce34..7b823be9d846725768e78881ba5da11bcbfe0d9f 100644 (file)
@@ -718,7 +718,7 @@ static struct htc_packet *htc_lookup_tx_packet(struct htc_target *target,
        spin_lock_bh(&target->tx_lock);
 
        /*
-        * interate from the front of tx lookup queue
+        * iterate from the front of tx lookup queue
         * this lookup should be fast since lower layers completes in-order and
         * so the completed packet should be at the head of the list generally
         */
index 9b100ee2ebc303b9ec5094ab480951130ce979df..782209dcb78255f9514f44698c5eabc9c441172d 100644 (file)
@@ -207,7 +207,7 @@ static const struct ath6kl_hw hw_list[] = {
 
 /*
  * This configuration item sets the value of disconnect timeout
- * Firmware delays sending the disconnec event to the host for this
+ * Firmware delays sending the disconnect event to the host for this
  * timeout after is gets disconnected from the current AP.
  * If the firmware successly roams within the disconnect timeout
  * it sends a new connect event
@@ -221,7 +221,7 @@ struct sk_buff *ath6kl_buf_alloc(int size)
        struct sk_buff *skb;
        u16 reserved;
 
-       /* Add chacheline space at front and back of buffer */
+       /* Add cacheline space at front and back of buffer */
        reserved = roundup((2 * L1_CACHE_BYTES) + ATH6KL_DATA_OFFSET +
                   sizeof(struct htc_packet) + ATH6KL_HTC_ALIGN_BYTES, 4);
        skb = dev_alloc_skb(size + reserved);
index d62b9645975116ddedb2bf9eaf80935d77b6d4cf..59068ea3879b12a3bb86ec9bd4e3a23986da25ff 100644 (file)
@@ -583,7 +583,7 @@ static int ath6kl_commit_ch_switch(struct ath6kl_vif *vif, u16 channel)
        switch (vif->nw_type) {
        case AP_NETWORK:
                /*
-                * reconfigure any saved RSN IE capabilites in the beacon /
+                * reconfigure any saved RSN IE capabilities in the beacon /
                 * probe response to stay in sync with the supplicant.
                 */
                if (vif->rsn_capab &&
index 9ab091044706f05f7fdf877bfae87630c703dc66..83de40bc444509c61534326d30097ba0ba1253f4 100644 (file)
@@ -486,7 +486,7 @@ static void ath6kl_sdio_irq_handler(struct sdio_func *func)
        ar_sdio = sdio_get_drvdata(func);
        atomic_set(&ar_sdio->irq_handling, 1);
        /*
-        * Release the host during interrups so we can pick it back up when
+        * Release the host during interrupts so we can pick it back up when
         * we process commands.
         */
        sdio_release_host(ar_sdio->func);
index 5220809841a6ce08615f828f7661c1ca947f6cfe..38bb501fc553c8d91b70926ab01248deb170d694 100644 (file)
@@ -93,7 +93,7 @@ struct ath6kl_urb_context {
 #define ATH6KL_USB_EP_ADDR_APP_DATA_MP_OUT      0x03
 #define ATH6KL_USB_EP_ADDR_APP_DATA_HP_OUT      0x04
 
-/* diagnostic command defnitions */
+/* diagnostic command definitions */
 #define ATH6KL_USB_CONTROL_REQ_SEND_BMI_CMD        1
 #define ATH6KL_USB_CONTROL_REQ_RECV_BMI_RESP       2
 #define ATH6KL_USB_CONTROL_REQ_DIAG_CMD            3
@@ -882,7 +882,7 @@ static int ath6kl_usb_submit_ctrl_out(struct ath6kl_usb *ar_usb,
                        return -ENOMEM;
        }
 
-       /* note: if successful returns number of bytes transfered */
+       /* note: if successful returns number of bytes transferred */
        ret = usb_control_msg(ar_usb->udev,
                              usb_sndctrlpipe(ar_usb->udev, 0),
                              req,
@@ -914,7 +914,7 @@ static int ath6kl_usb_submit_ctrl_in(struct ath6kl_usb *ar_usb,
                        return -ENOMEM;
        }
 
-       /* note: if successful returns number of bytes transfered */
+       /* note: if successful returns number of bytes transferred */
        ret = usb_control_msg(ar_usb->udev,
                                 usb_rcvctrlpipe(ar_usb->udev, 0),
                                 req,
index 84317afe4651e4fb5bc36c00aed4afe0a7fa8b70..08a154bce1396ec66e83258bc6b1aec9ee8debd0 100644 (file)
@@ -2601,7 +2601,7 @@ int ath6kl_wmi_create_pstream_cmd(struct wmi *wmi, u8 if_idx,
        }
 
        /*
-        * Indicate activty change to driver layer only if this is the
+        * Indicate activity change to driver layer only if this is the
         * first TSID to get created in this AC explicitly or an implicit
         * fat pipe is getting created.
         */
index 68384159870be5d761d37430109b23e764f23b3b..3080d82e25cc204a7808dda3088190a0056f8396 100644 (file)
@@ -655,7 +655,7 @@ enum wmi_mgmt_frame_type {
 
 enum wmi_ie_field_type {
        WMI_RSN_IE_CAPB = 0x1,
-       WMI_IE_FULL     = 0xFF,  /* indicats full IE */
+       WMI_IE_FULL     = 0xFF,  /* indicates full IE */
 };
 
 /* WMI_CONNECT_CMDID  */
@@ -1178,10 +1178,10 @@ struct wmi_create_pstream_cmd {
        __le32 sba;
        __le32 medium_time;
 
-       /* in octects */
+       /* in octets */
        __le16 nominal_msdu;
 
-       /* in octects */
+       /* in octets */
        __le16 max_msdu;
 
        u8 traffic_class;
@@ -1742,7 +1742,7 @@ struct wmi_scan_complete_event {
 
 /*
  * Special frame receive Event.
- * Mechanism used to inform host of the receiption of the special frames.
+ * Mechanism used to inform host of the reception of the special frames.
  * Consists of special frame info header followed by special frame body.
  * The 802.11 header is not included.
  */
@@ -1860,7 +1860,7 @@ struct wmi_target_stats {
 /*
  * WMI_RSSI_THRESHOLD_EVENTID.
  * Indicate the RSSI events to host. Events are indicated when we breach a
- * thresold value.
+ * threshold value.
  */
 enum wmi_rssi_threshold_val {
        WMI_RSSI_THRESHOLD1_ABOVE = 0,