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

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

staging: wlang-ng: avoid new typedef: hfa384x_ScanResult_t



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

It applies for typedef hfa384x_ScanResult_t

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4400334b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -671,11 +671,11 @@ struct hfa384x_ScanResultSub {
	u16 proberesp_rate;
} __packed;

typedef struct hfa384x_ScanResult {
struct hfa384x_ScanResult {
	u16 rsvd;
	u16 scanreason;
	struct hfa384x_ScanResultSub result[HFA384x_SCANRESULT_MAX];
} __packed hfa384x_ScanResult_t;
} __packed;

/*--  Inquiry Frame, Diagnose: ChInfo Results & Subfields--*/
typedef struct hfa384x_ChInfoResultSub {
@@ -764,7 +764,7 @@ typedef struct hfa384x_KeyIDChanged {
typedef union hfa384x_infodata {
	struct hfa384x_CommTallies16 commtallies16;
	struct hfa384x_CommTallies32 commtallies32;
	hfa384x_ScanResult_t scanresult;
	struct hfa384x_ScanResult scanresult;
	hfa384x_ChInfoResult_t chinforesult;
	hfa384x_HScanResult_t hscanresult;
	hfa384x_LinkStatus_t linkstatus;
+1 −1
Original line number Diff line number Diff line
@@ -1035,7 +1035,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
{
	hfa384x_t *hw = wlandev->priv;
	int nbss;
	hfa384x_ScanResult_t *sr = &(inf->info.scanresult);
	struct hfa384x_ScanResult *sr = &(inf->info.scanresult);
	int i;
	struct hfa384x_JoinRequest_data joinreq;
	int result;