staging:rtl8192u: Refactor struct HT_CAPABILITY_ELE - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 17 Aug 2018 18:34:47 +0000 (19:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:23:20 +0000 (19:23 +0200)
commit2c6d0ee300c84a2c3a3f9ed8c72269f181182117
tree09470ac365c8985353bbc4eea897c1ee5ab61f29
parent9ff6cdd3934a38589bc1895a898bf11a5f50b4b7
staging:rtl8192u: Refactor struct HT_CAPABILITY_ELE - Style

The structure HT_CAPABILITY_ELE causes a number of checkpatch / coding
style issues. The structure uses a 'typedef' directive causing an
issue regarding defining new types in the code. The name of the
structure should be lowercase, and the '__packed' directive is prefered
over the attribute directive.

The typedef has been removed, structure renamed to ht_capability_ele
and the '__packed' directive used.

These are coding style changes and should not impact on runtime code
execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
drivers/staging/rtl8192u/ieee80211/rtl819x_HT.h
drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c