]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: Various trivial fixes for PAPRD
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 10 Dec 2012 01:52:35 +0000 (07:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Dec 2012 20:49:48 +0000 (15:49 -0500)
commitf1bddbd2e2f891dc7842ce555361f9b84f7f3ce5
tree414e8071ab9c893a76f9be58b0d5aeb2cf2c47e2
parent0565e376faae9eed9fe18d1721b6bc2ea0b47d04
ath9k_hw: Various trivial fixes for PAPRD

* Remove unneeded memset.

  All the values in the PAPRD gain table are filled, so there
  is no need to zero out the arrays.

* Use GFP_KERNEL in ar9003_paprd_create_curve

  This is called from the PAPRD work, so the atomic variant
  is not needed.

* Change return type of ar9003_paprd_setup_gain_table

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_paprd.c
drivers/net/wireless/ath/ath9k/hw.h