]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: drop frames for sta with no valid rate
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 16 Jul 2009 17:15:09 +0000 (10:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:14 +0000 (15:05 -0400)
commitfca519d0f40a83ca866bc7ea1f49505e2ced13b0
tree8b91a3936e0964192e4f59a98e157606cbe932ac
parenteb68d0fa63efc0f848a86574dce8fc034279f6a6
mac80211: drop frames for sta with no valid rate

When we're associated we should be able to send data to
target sta. If we cannot we may be trying to use the incorrect
band to talk to the sta. Lets catch any such cases, warn, and
drop the frames to not invalidate assumptions being made on
rate control algorithms when they have a valid sta to
communicate with. Any such cases should be handled and fixed.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/tx.c