Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1402646 > unrolled thread

[PATCH 1/1] mwifiex: illegal assignment

Started byHeinrich Schuchardt <xypron.glpk@gmx.de>
First post2016-05-18 01:10 +0200
Last post2016-05-18 01:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1] mwifiex: illegal assignment Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-05-18 01:10 +0200

#1402646 — [PATCH 1/1] mwifiex: illegal assignment

FromHeinrich Schuchardt <xypron.glpk@gmx.de>
Date2016-05-18 01:10 +0200
Subject[PATCH 1/1] mwifiex: illegal assignment
Message-ID<rzWhH-2so-15@gated-at.bofh.it>
Variable adapter is incorrectly initialized.

Fixes: bf00dc22bc7a ("mwifiex: AMSDU Rx frame handling in AP mode")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/net/wireless/marvell/mwifiex/uap_txrx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.1.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web