提交 f4fb42e4 编写于 作者: Q Quytelda Kahja 提交者: Greg Kroah-Hartman

staging: ks7010: Remove trailing _t from 'struct rsn_mode_t'.

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct rsn_mode_t' with 'struct rsn_mode'.
Signed-off-by: NQuytelda Kahja <quytelda@tamalin.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c5ad1e94
...@@ -1665,7 +1665,7 @@ struct wpa_suite { ...@@ -1665,7 +1665,7 @@ struct wpa_suite {
unsigned char suite[4][CIPHER_ID_LEN]; unsigned char suite[4][CIPHER_ID_LEN];
} __packed; } __packed;
struct rsn_mode_t { struct rsn_mode {
__le32 rsn_mode; __le32 rsn_mode;
__le16 rsn_capability; __le16 rsn_capability;
} __packed; } __packed;
...@@ -1674,7 +1674,7 @@ static ...@@ -1674,7 +1674,7 @@ static
void hostif_sme_set_rsn(struct ks_wlan_private *priv, int type) void hostif_sme_set_rsn(struct ks_wlan_private *priv, int type)
{ {
struct wpa_suite wpa_suite; struct wpa_suite wpa_suite;
struct rsn_mode_t rsn_mode; struct rsn_mode rsn_mode;
__le32 val; __le32 val;
memset(&wpa_suite, 0, sizeof(wpa_suite)); memset(&wpa_suite, 0, sizeof(wpa_suite));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册