wireless: bcmdhd: Set/get dhd_msg_level using module param
Srinivas Ramachandran [Tue, 13 Oct 2015 22:13:58 +0000 (15:13 -0700)]
Android utility tools to configure the msg_level in the DHD are
not available for platforms like L4T. Allow the msg_level variable
as a module param so that it can be configured at runtime via sysfs

Bug 1686560

Change-Id: Ibc480bd6eebea446ba453e2e58c37d1744cfb2a9
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: http://git-master/r/817239
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/834306
Tested-by: Nagaraj Annaiah <nannaiah@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

drivers/net/wireless/bcmdhd/dhd_linux.c

index 8cc1767..8f92720 100644 (file)
@@ -559,7 +559,7 @@ extern void dhd_netdev_free(struct net_device *ndev);
 #endif /* WL_CFG80211 */
 
 /* Error bits */
-module_param(dhd_msg_level, int, 0);
+module_param(dhd_msg_level, int, 0644);
 
 #ifdef ARP_OFFLOAD_SUPPORT
 /* ARP offload enable */