From: Luciano Coelho Date: Wed, 12 Jan 2011 13:18:11 +0000 (+0200) Subject: mac80211: use maximum number of AMPDU frames as default in BA RX X-Git-Tag: v2.6.38-rc2~33^2~17^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82694f764dad783a123394e2220b92b9be721b43;p=pandora-kernel.git mac80211: use maximum number of AMPDU frames as default in BA RX When the buffer size is set to zero in the block ack parameter set field, we should use the maximum supported number of subframes. The existing code was bogus and was doing some unnecessary calculations that lead to wrong values. Thanks Johannes for helping me figure this one out. Cc: stable@kernel.org Cc: Johannes Berg Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed