ath9k: No need for that extra memcpy
authorNick Kossifidis <mickflemm@gmail.com>
Wed, 29 Apr 2015 23:51:18 +0000 (23:51 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:46:15 +0000 (16:46 +0300)
commit9acc98b9ecf9d12bfc6e3f914f3fc446d49b8641
tree95de5ffd3dd9776204d7ddf40dc895105e0c01b6
parent0f2c75de6422f63d614ce5e1ac13d83968c19fec
ath9k: No need for that extra memcpy

No need to copy the frame to the temporary buffer when its length
is ok.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/common-spectral.c