mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4400334b56
commit
dc0bb002b3
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue