Skip to content

Commit

Permalink
staging: qcacld-2.0: Add a dummy mac module parameter
Browse files Browse the repository at this point in the history
Just to fool userspace WiFi for now, to make a success insmod

Change-Id: I3cd32d183f6fe6f3d650321d15358e197f627616
Signed-off-by: Ketut Putu Kumajaya <ketut.kumajaya@gmail.com>
  • Loading branch information
Gah0 committed Jan 23, 2019
1 parent ddc678d commit 332f70e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_cfg.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2014,2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2011-2014,2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
Expand Down Expand Up @@ -32,6 +32,13 @@ unsigned int vow_config = 0;
module_param(vow_config, uint, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(vow_config, "Do VoW Configuration");

#ifdef CONFIG_MACH_XIAOMI_MSM8992
static char *mac;
module_param(mac, charp, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(mac, "QCA 6164 mac address");
EXPORT_SYMBOL(mac);
#endif

#ifdef QCA_SUPPORT_TXRX_HL_BUNDLE
/**
* ol_cfg_update_bundle_params() - update tx bundle params
Expand Down

0 comments on commit 332f70e

Please sign in to comment.