]> err.no Git - linux-2.6/commit
mac80211: detect driver tx bugs
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 18 Jun 2008 22:39:48 +0000 (15:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jun 2008 22:39:48 +0000 (15:39 -0700)
commitef3a62d272f033989e83eb1f26505f93f93e3e69
tree9ce3eea86642e33dbec68dd2b3f81298f5ece235
parent6d1a3fb567a728d31474636e167c324702a0c38b
mac80211: detect driver tx bugs

When a driver rejects a frame in it's ->tx() callback, it must also
stop queues, otherwise mac80211 can go into a loop here. Detect this
situation and abort the loop after five retries, warning about the
driver bug.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/tx.c