diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2016-05-18 01:01:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-07 15:21:17 +0200 |
commit | 0ce2f1882681c7a843970e050963ba45fc9d3cd9 (patch) | |
tree | 0afc95d20bc713acd7c8fc11dfd3316686b11240 | |
parent | bd56b7e2a7a89b49631a6ae3a23d214cae5eafa3 (diff) | |
download | linux-stable-0ce2f1882681c7a843970e050963ba45fc9d3cd9.tar.gz linux-stable-0ce2f1882681c7a843970e050963ba45fc9d3cd9.tar.bz2 linux-stable-0ce2f1882681c7a843970e050963ba45fc9d3cd9.zip |
mwifiex: illegal assignment
commit 3fdbda446fbcd7fb750179c01338e81cf04e46c7 upstream.
Variable adapter is incorrectly initialized.
Fixes: bf00dc22bc7a ("mwifiex: AMSDU Rx frame handling in AP mode")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/uap_txrx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/uap_txrx.c b/drivers/net/wireless/marvell/mwifiex/uap_txrx.c index 666e91af59d7..bf5660eb27d3 100644 --- a/drivers/net/wireless/marvell/mwifiex/uap_txrx.c +++ b/drivers/net/wireless/marvell/mwifiex/uap_txrx.c @@ -272,7 +272,7 @@ int mwifiex_handle_uap_rx_forward(struct mwifiex_private *priv, int mwifiex_uap_recv_packet(struct mwifiex_private *priv, struct sk_buff *skb) { - struct mwifiex_adapter *adapter = adapter; + struct mwifiex_adapter *adapter = priv->adapter; struct mwifiex_sta_node *src_node; struct ethhdr *p_ethhdr; struct sk_buff *skb_uap; |