Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • net
  • wireless
  • rt2x00
  • rt2x00lib.h
Find file BlameHistoryPermalink
  • Helmut Schaa's avatar
    rt2x00: Remove obsolete rt2x00queue_align_payload · 2f2bb7e8
    Helmut Schaa authored Mar 28, 2011
    Since commit d1c3a37c
    
     ("mac80211:
    clarify alignment docs, fix up alignment") removed the requirement
    for a 4-byte aligned payload rt2x00queue_align_payload is obsolete
    as mac80211 will align the payload when it passes the frame to the
    net stack.
    
    As a result we can remove the call to rt2x00queue_align_payload in the
    rx path and since that's the last user we can remove
    rt2x00queue_align_payload altogether.
    
    One advantage is that we save some alignment operations for frames
    that don't need to be aligned (for example beause they are not passed
    to the net stack).
    
    Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
    Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    2f2bb7e8