|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2018-2019 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
|
|
@@ -29,7 +29,7 @@ static struct wlan_disa_ctx *gp_disa_ctx;
|
|
|
QDF_STATUS disa_allocate_ctx(void)
|
|
|
{
|
|
|
/* If it is already created, ignore */
|
|
|
- if (gp_disa_ctx != NULL) {
|
|
|
+ if (gp_disa_ctx) {
|
|
|
disa_debug("already allocated disa_ctx");
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|