aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ks7010/michael_mic.h
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-03-14 10:46:42 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-14 08:04:51 +0800
commit86ea6167cde51212319155c8515db22d58bf89b6 (patch)
tree75a3502411a4fd0e9042f8bc3a6fea41a3b8f4ab /drivers/staging/ks7010/michael_mic.h
parentstaging: rtl8192u: ieee80211: Remove code in comments (diff)
downloadlinux-dev-86ea6167cde51212319155c8515db22d58bf89b6.tar.xz
linux-dev-86ea6167cde51212319155c8515db22d58bf89b6.zip
staging: ks7010: fix spelling of Michael MIC
Driver mixes spelling michael and michel in symbol names and comments. Michael here references the IEEE 802.11i Message Integrity Code. It is incorrect to spell it michel and confusing having two spellings for the same thing. Change michel -> micheal in both symbol names and comments. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/michael_mic.h')
-rw-r--r--drivers/staging/ks7010/michael_mic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h
index 248f849fc4a5..758e429446f1 100644
--- a/drivers/staging/ks7010/michael_mic.h
+++ b/drivers/staging/ks7010/michael_mic.h
@@ -9,8 +9,8 @@
* published by the Free Software Foundation.
*/
-/* MichelMIC routine define */
-struct michel_mic_t {
+/* MichaelMIC routine define */
+struct michael_mic_t {
u32 K0; // Key
u32 K1; // Key
u32 L; // Current state
@@ -20,6 +20,6 @@ struct michel_mic_t {
u8 Result[8];
};
-void MichaelMICFunction(struct michel_mic_t *Mic, u8 *Key,
+void MichaelMICFunction(struct michael_mic_t *Mic, u8 *Key,
u8 *Data, int Len, u8 priority,
u8 *Result);