]> 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)
commit1aef79bba3f368e22e20974ea7b39973ffa1b3b9
treed09369c18680b0be77ccdbbe70e2b49f17fcf549
parent4bb9b95d75d9a37868654ec01ba6e476991ed7ff
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