]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtlwifi: Use order 2 RX buffer allocation only if necessary
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 19 May 2011 16:48:45 +0000 (11:48 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 May 2011 19:43:30 +0000 (15:43 -0400)
commit0019a2c9277bf6d083032a5a9857249e75407a8c
tree6388a7f514503194871f18319ed24e795e845126
parenta9e12869758430424804dd4332e0d2afdfdf00b0
rtlwifi: Use order 2 RX buffer allocation only if necessary

Although a previous fix handles the kernel panics that result from
failure to allocate a new RX buffer, memory fragmentation can be
reduced if the amsdu_8k capability is disabled as new buffers need only
be of O(0), not O(2).

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c