ath9k: Simplify user pattern configuration
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 30 Jan 2015 13:35:31 +0000 (19:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:31:08 +0000 (15:31 +0200)
commit34d102c921100a70d8262adc1afc09f492782778
treec735de3eb9b7cfffb3ca1138238d052067ba63d1
parent8b861715087fe17796fe411eff1c7f7e493d0d10
ath9k: Simplify user pattern configuration

There is no need to allocate a new structure and
free it for every user pattern, instead use local
variables.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/wow.c