Commit bc8212ef authored by Himadri Pandya's avatar Himadri Pandya Committed by Greg Kroah-Hartman

staging: rtl8723bs: include: remove typedef for struct pno_scan_channel_info

Remove typedef for struct pno_scan_channel_info as The Linux kernel
coding style guidelines discourage the use of typedefs for struct
types.
Signed-off-by: default avatarHimadri Pandya <himadri18.07@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cc746197
...@@ -179,13 +179,13 @@ struct pno_ssid_list { ...@@ -179,13 +179,13 @@ struct pno_ssid_list {
struct pno_ssid node[MAX_PNO_LIST_COUNT]; struct pno_ssid node[MAX_PNO_LIST_COUNT];
}; };
typedef struct pno_scan_channel_info struct pno_scan_channel_info
{ {
u8 channel; u8 channel;
u8 tx_power; u8 tx_power;
u8 timeout; u8 timeout;
u8 active; /* set 1 means active scan, or pasivite scan. */ u8 active; /* set 1 means active scan, or pasivite scan. */
}pno_scan_channel_info_t; };
typedef struct pno_scan_info typedef struct pno_scan_info
{ {
...@@ -198,7 +198,7 @@ typedef struct pno_scan_info ...@@ -198,7 +198,7 @@ typedef struct pno_scan_info
u8 orig_ch; /* original channel */ u8 orig_ch; /* original channel */
u8 channel_num; /* number of channel */ u8 channel_num; /* number of channel */
u64 rfe_type; /* rfe_type && 0x00000000000000ff */ u64 rfe_type; /* rfe_type && 0x00000000000000ff */
pno_scan_channel_info_t ssid_channel_info[MAX_SCAN_LIST_COUNT]; struct pno_scan_channel_info ssid_channel_info[MAX_SCAN_LIST_COUNT];
}pno_scan_info_t; }pno_scan_info_t;
#endif /* CONFIG_PNO_SUPPORT */ #endif /* CONFIG_PNO_SUPPORT */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment