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

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

staging: wlan-ng: avoid new typedef: p80211_frmrx_t



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

It applies for typedef p80211_frmrx_t

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 19066982
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -98,7 +98,7 @@
#define P80211_NSDCAP_NOSCAN                0x200 /* nsd can scan */
#define P80211_NSDCAP_NOSCAN                0x200 /* nsd can scan */


/* Received frame statistics */
/* Received frame statistics */
typedef struct p80211_frmrx_t {
struct p80211_frmrx {
	u32 mgmt;
	u32 mgmt;
	u32 assocreq;
	u32 assocreq;
	u32 assocresp;
	u32 assocresp;
@@ -132,7 +132,7 @@ typedef struct p80211_frmrx_t {
	u32 data_unknown;
	u32 data_unknown;
	u32 decrypt;
	u32 decrypt;
	u32 decrypt_err;
	u32 decrypt_err;
} p80211_frmrx_t;
};


/* called by /proc/net/wireless */
/* called by /proc/net/wireless */
struct iw_statistics *p80211wext_get_wireless_stats(struct net_device *dev);
struct iw_statistics *p80211wext_get_wireless_stats(struct net_device *dev);
@@ -211,7 +211,7 @@ struct wlandevice {
	struct sk_buff_head nsd_rxq;
	struct sk_buff_head nsd_rxq;


	/* 802.11 device statistics */
	/* 802.11 device statistics */
	struct p80211_frmrx_t rx;
	struct p80211_frmrx rx;


	struct iw_statistics wstats;
	struct iw_statistics wstats;