]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
wcn36xx: Add helper macros to cast sta to priv
authorPontus Fuchs <pontus.fuchs@gmail.com>
Mon, 17 Feb 2014 20:20:53 +0000 (21:20 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 26 Jan 2016 02:09:49 +0000 (18:09 -0800)
commit2972b08078bc943969e073798a73eca8a99b94f7
treeb73653d5bb1e14fb67ab25f03d5305a54001ec35
parent78c8984b0ce10aaf5cea659e5817b4a8a7f18dda
wcn36xx: Add helper macros to cast sta to priv

While poking at this I also change two related things. I rename one
variable to make the names consistent. I also move one assignment of
priv_sta to the declaration to save a few lines.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
drivers/net/wireless/ath/wcn36xx/main.c
drivers/net/wireless/ath/wcn36xx/smd.c
drivers/net/wireless/ath/wcn36xx/wcn36xx.h