qtnfmac: module param sanity check
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Tue, 29 Aug 2017 12:16:20 +0000 (15:16 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 31 Aug 2017 12:57:38 +0000 (15:57 +0300)
commit97f38011451f53fe9a495ff5e0ca035d91dd550d
tree9f7cb3f177deabe2c0d2faa030845756a577e9d4
parent57b18a75d90e7728bc3dec11d7294f3aef44c9a6
qtnfmac: module param sanity check

Linux built-in circ_buf implementation assumes that that the
circular buffer length is a power of 2. Make sure that
rx and tx descriptor queue lengths are power-of-2.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/pearl/pcie.c