summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/uap_txrx.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2016-05-18 01:01:58 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-06-14 17:19:11 +0300
commit3fdbda446fbcd7fb750179c01338e81cf04e46c7 (patch)
tree07e5c9377a9ef8c5752c762ec1406894fffaf1c8 /drivers/net/wireless/marvell/mwifiex/uap_txrx.c
parent9b648d788d7841867eea220904dfb77df35f1e08 (diff)
downloadop-kernel-dev-3fdbda446fbcd7fb750179c01338e81cf04e46c7.zip
op-kernel-dev-3fdbda446fbcd7fb750179c01338e81cf04e46c7.tar.gz
mwifiex: illegal assignment
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>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/uap_txrx.c')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/uap_txrx.c2
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 666e91a..bf5660e 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;
OpenPOWER on IntegriCloud