wlcore: spi: use private max-buf-size limit
authorArik Nemtsov <arik@wizery.com>
Mon, 6 Aug 2012 08:21:39 +0000 (11:21 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:52 +0000 (12:13 +0300)
commit61932ba59f5278e3f0c9fbded1a1af39ef89333f
tree4e3c0d0b1f2ce9db562d18041f5efc933ea0df43
parente166de556f7795a3061e49deca28d61b3764d512
wlcore: spi: use private max-buf-size limit

Limit SPI transmissions to the wl12xx max buffer size, as only 12xx was
tested with SPI.

This allows us to remove the global aggregation buffer constant.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wlcore/spi.c
drivers/net/wireless/ti/wlcore/wlcore_i.h