Skip to content

Commit 3fdbda4

Browse files
xypronKalle Valo
authored andcommitted
mwifiex: illegal assignment
Variable adapter is incorrectly initialized. Fixes: bf00dc2 ("mwifiex: AMSDU Rx frame handling in AP mode") Signed-off-by: Heinrich Schuchardt <[email protected]> Acked-by: Amitkumar Karwar <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 9b648d7 commit 3fdbda4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/marvell/mwifiex/uap_txrx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ int mwifiex_handle_uap_rx_forward(struct mwifiex_private *priv,
272272
int mwifiex_uap_recv_packet(struct mwifiex_private *priv,
273273
struct sk_buff *skb)
274274
{
275-
struct mwifiex_adapter *adapter = adapter;
275+
struct mwifiex_adapter *adapter = priv->adapter;
276276
struct mwifiex_sta_node *src_node;
277277
struct ethhdr *p_ethhdr;
278278
struct sk_buff *skb_uap;

0 commit comments

Comments
 (0)