Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ad26f70 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman
Browse files

staging: wlan-ng: avoid new typedef: p80211item_unk1024_t



This patch fixes the following checkpatch.pl warning in p80211types.h:
WARNING: do not add new typedefs

It applies for typedef p80211item_unk1024_t

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 37e48668
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ struct p80211msg_p2req_readpda {
	u32 msgcode;
	u32 msglen;
	u8 devname[WLAN_DEVNAMELEN_MAX];
	p80211item_unk1024_t pda;
	struct p80211item_unk1024 pda;
	struct p80211item_uint32 resultcode;
} __packed;

+2 −2
Original line number Diff line number Diff line
@@ -318,12 +318,12 @@ struct p80211item_unk392 {
} __packed;

/* message data item for UNK 1025, namely p2 pdas */
typedef struct p80211item_unk1024 {
struct p80211item_unk1024 {
	u32 did;
	u16 status;
	u16 len;
	u8 data[1024];
} __packed p80211item_unk1024_t;
} __packed;

/* message data item for UNK 4096, namely p2 download chunks */
typedef struct p80211item_unk4096 {