STAGING: rtl8192u/ieee80211: fix checkpatch error about pointer position in ieee80211_crypt_tkip.c
This patch fixes the pointer position in ieee80211_crypt_tkip.c to meet the kernel coding style conventions. Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6560d4b9bc
commit
8acfd58a4d
1 changed files with 4 additions and 4 deletions
|
@ -62,7 +62,7 @@ struct ieee80211_tkip_data {
|
||||||
u8 rx_hdr[16], tx_hdr[16];
|
u8 rx_hdr[16], tx_hdr[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
static void * ieee80211_tkip_init(int key_idx)
|
static void *ieee80211_tkip_init(int key_idx)
|
||||||
{
|
{
|
||||||
struct ieee80211_tkip_data *priv;
|
struct ieee80211_tkip_data *priv;
|
||||||
|
|
||||||
|
@ -499,8 +499,8 @@ static int ieee80211_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv)
|
||||||
return keyidx;
|
return keyidx;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int michael_mic(struct crypto_hash *tfm_michael, u8 * key, u8 * hdr,
|
static int michael_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *hdr,
|
||||||
u8 * data, size_t data_len, u8 * mic)
|
u8 *data, size_t data_len, u8 *mic)
|
||||||
{
|
{
|
||||||
struct hash_desc desc;
|
struct hash_desc desc;
|
||||||
struct scatterlist sg[2];
|
struct scatterlist sg[2];
|
||||||
|
@ -718,7 +718,7 @@ static int ieee80211_tkip_get_key(void *key, int len, u8 *seq, void *priv)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static char * ieee80211_tkip_print_stats(char *p, void *priv)
|
static char *ieee80211_tkip_print_stats(char *p, void *priv)
|
||||||
{
|
{
|
||||||
struct ieee80211_tkip_data *tkip = priv;
|
struct ieee80211_tkip_data *tkip = priv;
|
||||||
p += sprintf(p, "key[%d] alg=TKIP key_set=%d "
|
p += sprintf(p, "key[%d] alg=TKIP key_set=%d "
|
||||||
|
|
Loading…
Add table
Reference in a new issue