rtwn: fix possible buffer overrun.

r297596 was not merged properly into new code; restore lost part.
This commit is contained in:
Andriy Voskoboinyk 2017-01-04 00:26:41 +00:00
parent 33ce6ec1d9
commit 0642856a1e

View File

@ -26,7 +26,7 @@
#define RTWN_TX_DESC_SIZE 64
#define RTWN_RXBUFSZ (8 * 1024)
#define RTWN_TXBUFSZ (RTWN_TX_DESC_SIZE + IEEE80211_MAX_LEN)
#define RTWN_TXBUFSZ (16 * 1024)
#define RTWN_BCN_MAX_SIZE 512
#define RTWN_CAM_ENTRY_LIMIT 64