]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ath9k/mac80211: disallow fragmentation in ath9k, report to userspace
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 13 Oct 2008 11:35:05 +0000 (13:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Oct 2008 01:12:37 +0000 (21:12 -0400)
commit4233df6b748193d45f79fb7448991a473061a65d
tree7821c829791ee0994cded510c55c824578820ef6
parent96d46d5d792d96f80e9bd274ab6d433b8a3c22bc
ath9k/mac80211: disallow fragmentation in ath9k, report to userspace

As I've reported, ath9k currently fails utterly when fragmentation
is enabled. This makes ath9k "support" hardware fragmentation by
not supporting fragmentation at all to avoid the double-free issue.
The patch also changes mac80211 to report errors from the driver
operation to userspace.

That hack in ath9k should be removed once the rate control algorithm
it has is fixed, and we can at that time consider removing the hw
fragmentation support entirely since it's not used by any driver.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: stable@kernel.org
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/main.c
net/mac80211/wext.c