Commit fa520f01 authored by Teodora Baluta's avatar Teodora Baluta Committed by Greg Kroah-Hartman

staging: rtl8187se: fix comments over 80 characters

This patch rearranges comments that are over 80 characters.
Signed-off-by: default avatarTeodora Baluta <teobaluta@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9c1822d7
...@@ -185,7 +185,10 @@ int ieee80211_encrypt_fragment( ...@@ -185,7 +185,10 @@ int ieee80211_encrypt_fragment(
struct ieee80211_crypt_data* crypt = ieee->crypt[ieee->tx_keyidx]; struct ieee80211_crypt_data* crypt = ieee->crypt[ieee->tx_keyidx];
int res; int res;
/*added to care about null crypt condition, to solve that system hangs when shared keys error*/ /*
* added to care about null crypt condition, to solve that system hangs
* when shared keys error
*/
if (!crypt || !crypt->ops) if (!crypt || !crypt->ops)
return -1; return -1;
...@@ -203,10 +206,15 @@ int ieee80211_encrypt_fragment( ...@@ -203,10 +206,15 @@ int ieee80211_encrypt_fragment(
return -1; return -1;
} }
#endif #endif
/* To encrypt, frame format is: /*
* IV (4 bytes), clear payload (including SNAP), ICV (4 bytes) */ * To encrypt, frame format is:
* IV (4 bytes), clear payload (including SNAP), ICV (4 bytes)
*/
/* PR: FIXME: Copied from hostap. Check fragmentation/MSDU/MPDU encryption. */ /*
* PR: FIXME: Copied from hostap. Check fragmentation/MSDU/MPDU
* encryption.
*/
/* Host-based IEEE 802.11 fragmentation for TX is not yet supported, so /* Host-based IEEE 802.11 fragmentation for TX is not yet supported, so
* call both MSDU and MPDU encryption functions from here. */ * call both MSDU and MPDU encryption functions from here. */
atomic_inc(&crypt->refcnt); atomic_inc(&crypt->refcnt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment