]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: consolidate calls to plink_frame_tx
authorThomas Pedersen <thomas@cozybit.com>
Tue, 5 Nov 2013 19:16:50 +0000 (11:16 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:49:50 +0000 (20:49 +0100)
commitb62d14fb7d59d94e82db870160628e7c1bd108bb
treed09369c18680b0be77ccdbbe70e2b49f17fcf549
parent3fc6d457cba70f9e4e08dc0c7caffbea88c24bab
mac80211: consolidate calls to plink_frame_tx

Do all frame transfers in one place at the end of the
big switch statements.  sta->plid and sta->reason can
be passed in any case, since they are only used for
the frames that need them.  Remove assignments to locals
for values already stored in the sta structure.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c