]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: set NEED_TXPROCESSING for PERR frames
authorBob Copeland <me@bobcopeland.com>
Wed, 9 Jan 2013 17:34:55 +0000 (12:34 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Jan 2013 22:22:21 +0000 (23:22 +0100)
commitbd2f433728e3cb571b7ba91e2cb1af3126fc8b25
treee0d32f3130e78544ceaafe96a30998ef79c9c50c
parenta99d426010a9a2730a5a7e6131f6dde0b18d8952
mac80211: set NEED_TXPROCESSING for PERR frames

A user reported warnings in ath5k due to transmitting frames with no
rates set up.  The frames were Mesh PERR frames, and some debugging
showed an empty control block with just the vif pointer:

>  [  562.522682] XXX txinfo: 00000000: 00 00 00 00 00 00 00 00 00 00 00
>  00 00 00 00 00  ................
>  [  562.522688] XXX txinfo: 00000010: 00 00 00 00 00 00 00 00 54 b8 f2
>  db 00 00 00 00  ........T.......
>  [  562.522693] XXX txinfo: 00000020: 00 00 00 00 00 00 00 00 00 00 00
>  00 00 00 00 00  ................

Set the IEEE80211_TX_INTFL_NEED_TXPROCESSING flag to ensure that
rate control gets run before the frame is sent.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c