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)
commit4efec45134d82fa73826cc24d41274beb5097d64
treed09369c18680b0be77ccdbbe70e2b49f17fcf549
parent3cde38e7f3491ea62429556149713b7a875c9ac2
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