aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGertjan van Wingerde <[email protected]>2009-12-04 23:47:03 +0100
committerJohn W. Linville <[email protected]>2009-12-21 18:56:34 -0500
commit2e331462fcb3d897921d8a0af4fca1b08c1b7269 (patch)
tree4560331e21591dba952bdbdb249a6cd72ff30de4 /include/linux
parent354e39dbb19f29ef28a9c2db9e55ff2a7435b35a (diff)
rt2x00: Reorganize L2 padding inserting function.
Simplify the rt2x00queue_insert_l2pad function by handling the alignment operations one by one. Do not special case special circumstances. Basically first perform header alignment, and then perform payload alignment (if any payload does exist). This results in a properly aligned skb. The end result is better readable code, with better results, as now L2 padding is inserted only when a payload is actually present in the frame. Signed-off-by: Gertjan van Wingerde <[email protected]> Acked-by: Ivo van Doorn <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions