]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: wfx: fix typo in "num_i_es"
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:01 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:06 +0000 (15:56 +0100)
The script that has imported API header has made a mistake "num_i_es".

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-25-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_api_cmd.h
drivers/staging/wfx/hif_tx.c

index 90ba6e9b82eaa7d341073733e4808313a0538739..3e77fbe3d5ff96f8f6752484d34f34e8d9ffb811 100644 (file)
@@ -137,7 +137,7 @@ struct hif_ie_tlv {
 
 struct hif_req_update_ie {
        struct hif_ie_flags ie_flags;
-       u16   num_i_es;
+       u16   num_ies;
        struct hif_ie_tlv ie[];
 } __packed;
 
index 2f74abca2b60c339bf86ebc082dffb1b165a5cf8..6fb98ddbc0e2eb2b779ad32cc7ced45147bec96e 100644 (file)
@@ -429,7 +429,7 @@ int hif_update_ie(struct wfx_vif *wvif, const struct hif_ie_flags *target_frame,
        struct hif_req_update_ie *body = wfx_alloc_hif(buf_len, &hif);
 
        memcpy(&body->ie_flags, target_frame, sizeof(struct hif_ie_flags));
-       body->num_i_es = cpu_to_le16(1);
+       body->num_ies = cpu_to_le16(1);
        memcpy(body->ie, ies, ies_len);
        wfx_fill_header(hif, wvif->id, HIF_REQ_ID_UPDATE_IE, buf_len);
        ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false);