ar5523: make buffer size variable unsigned
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 30 Oct 2012 18:04:26 +0000 (21:04 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Oct 2012 20:17:54 +0000 (16:17 -0400)
commit38141fcfaad34a388e61a7a7e98d521330e049d6
tree37a87c9af011e9e3aee0c4a51072f1e8001294f5
parentda17fcffb1dff98463640d1deaeafbc6a7e73a41
ar5523: make buffer size variable unsigned

A negative buffer size doesn't make sense and it breaks this check in
ar5523_get_max_rxsz():

if (!ar->rxbufsz || ar->rxbufsz > AR5523_SANE_RXBUFSZ) { ...

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar5523/ar5523.h