|
@@ -143,7 +143,7 @@ static bool hdd_is_ndp_allowed(struct hdd_context *hdd_ctx)
|
|
|
sta_ctx =
|
|
|
WLAN_HDD_GET_STATION_CTX_PTR(adapter->deflink);
|
|
|
if (hdd_cm_is_vdev_associated(adapter->deflink) ||
|
|
|
- hdd_cm_is_connecting(adapter)) {
|
|
|
+ hdd_cm_is_connecting(adapter->deflink)) {
|
|
|
hdd_adapter_dev_put_debug(adapter, dbgid);
|
|
|
if (next_adapter)
|
|
|
hdd_adapter_dev_put_debug(next_adapter,
|
|
@@ -184,7 +184,7 @@ static bool hdd_is_ndp_allowed(struct hdd_context *hdd_ctx)
|
|
|
sta_ctx =
|
|
|
WLAN_HDD_GET_STATION_CTX_PTR(adapter->deflink);
|
|
|
if (hdd_cm_is_vdev_associated(adapter->deflink) ||
|
|
|
- hdd_cm_is_connecting(adapter)) {
|
|
|
+ hdd_cm_is_connecting(adapter->deflink)) {
|
|
|
hdd_adapter_dev_put_debug(adapter, dbgid);
|
|
|
if (next_adapter)
|
|
|
hdd_adapter_dev_put_debug(next_adapter,
|