mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Fix pdev undeclared issue
In function hdd_ocb_register_sta(), it will call function cdp_peer_register(soc, (struct cdp_pdev *)pdev, &sta_desc), but pdev is undeclared. Change-Id: Ie0341b8ff880c21960a655399378b519fc240631 CRs-Fixed: 2595641
This commit is contained in:
parent
81a1df2b19
commit
1d8f5212b6
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -219,6 +219,7 @@ static int hdd_ocb_register_sta(struct hdd_adapter *adapter)
|
|||
struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
|
||||
struct ol_txrx_ops txrx_ops;
|
||||
void *soc = cds_get_context(QDF_MODULE_ID_SOC);
|
||||
struct cdp_pdev *pdev = cds_get_context(QDF_MODULE_ID_TXRX);
|
||||
|
||||
qdf_status = cdp_peer_register_ocb_peer(soc,
|
||||
adapter->mac_addr.bytes);
|
||||
|
|
|
|||
Loading…
Reference in a new issue