drivers:staging:rtl typo fix encryptiong to encryption.
This patch fixes a typo. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Cc: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
20c3d7f71d
Коммит
94c97e8e06
|
@ -445,7 +445,7 @@ int ieee80211_rtl_xmit(struct sk_buff *skb,
|
||||||
(CFG_IEEE80211_COMPUTE_FCS | CFG_IEEE80211_RESERVE_FCS))
|
(CFG_IEEE80211_COMPUTE_FCS | CFG_IEEE80211_RESERVE_FCS))
|
||||||
bytes_per_frag -= IEEE80211_FCS_LEN;
|
bytes_per_frag -= IEEE80211_FCS_LEN;
|
||||||
|
|
||||||
/* Each fragment may need to have room for encryptiong pre/postfix */
|
/* Each fragment may need to have room for encryption pre/postfix */
|
||||||
if (encrypt)
|
if (encrypt)
|
||||||
bytes_per_frag -= crypt->ops->extra_prefix_len +
|
bytes_per_frag -= crypt->ops->extra_prefix_len +
|
||||||
crypt->ops->extra_postfix_len;
|
crypt->ops->extra_postfix_len;
|
||||||
|
|
|
@ -761,7 +761,7 @@ int ieee80211_rtl_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||||
(CFG_IEEE80211_COMPUTE_FCS | CFG_IEEE80211_RESERVE_FCS))
|
(CFG_IEEE80211_COMPUTE_FCS | CFG_IEEE80211_RESERVE_FCS))
|
||||||
bytes_per_frag -= IEEE80211_FCS_LEN;
|
bytes_per_frag -= IEEE80211_FCS_LEN;
|
||||||
|
|
||||||
/* Each fragment may need to have room for encryptiong pre/postfix */
|
/* Each fragment may need to have room for encryption pre/postfix */
|
||||||
if (encrypt)
|
if (encrypt)
|
||||||
bytes_per_frag -= crypt->ops->extra_prefix_len +
|
bytes_per_frag -= crypt->ops->extra_prefix_len +
|
||||||
crypt->ops->extra_postfix_len;
|
crypt->ops->extra_postfix_len;
|
||||||
|
|
|
@ -723,7 +723,7 @@ int ieee80211_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||||
(CFG_IEEE80211_COMPUTE_FCS | CFG_IEEE80211_RESERVE_FCS))
|
(CFG_IEEE80211_COMPUTE_FCS | CFG_IEEE80211_RESERVE_FCS))
|
||||||
bytes_per_frag -= IEEE80211_FCS_LEN;
|
bytes_per_frag -= IEEE80211_FCS_LEN;
|
||||||
|
|
||||||
/* Each fragment may need to have room for encryptiong pre/postfix */
|
/* Each fragment may need to have room for encryption pre/postfix */
|
||||||
if (encrypt)
|
if (encrypt)
|
||||||
bytes_per_frag -= crypt->ops->extra_prefix_len +
|
bytes_per_frag -= crypt->ops->extra_prefix_len +
|
||||||
crypt->ops->extra_postfix_len;
|
crypt->ops->extra_postfix_len;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче