Commit 3fdbda44 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Kalle Valo

mwifiex: illegal assignment

Variable adapter is incorrectly initialized.

Fixes: bf00dc22 ("mwifiex: AMSDU Rx frame handling in AP mode")
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 9b648d78
...@@ -272,7 +272,7 @@ int mwifiex_handle_uap_rx_forward(struct mwifiex_private *priv, ...@@ -272,7 +272,7 @@ int mwifiex_handle_uap_rx_forward(struct mwifiex_private *priv,
int mwifiex_uap_recv_packet(struct mwifiex_private *priv, int mwifiex_uap_recv_packet(struct mwifiex_private *priv,
struct sk_buff *skb) struct sk_buff *skb)
{ {
struct mwifiex_adapter *adapter = adapter; struct mwifiex_adapter *adapter = priv->adapter;
struct mwifiex_sta_node *src_node; struct mwifiex_sta_node *src_node;
struct ethhdr *p_ethhdr; struct ethhdr *p_ethhdr;
struct sk_buff *skb_uap; struct sk_buff *skb_uap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment