|
@@ -4320,7 +4320,6 @@ struct hdd_adapter *hdd_wlan_create_ap_dev(struct hdd_context *hdd_ctx,
|
|
|
{
|
|
|
struct net_device *dev;
|
|
|
struct hdd_adapter *adapter;
|
|
|
- QDF_STATUS qdf_status;
|
|
|
|
|
|
hdd_debug("iface_name = %s", iface_name);
|
|
|
|
|
@@ -4367,14 +4366,6 @@ struct hdd_adapter *hdd_wlan_create_ap_dev(struct hdd_context *hdd_ctx,
|
|
|
adapter->wdev.wiphy = hdd_ctx->wiphy;
|
|
|
adapter->wdev.netdev = dev;
|
|
|
|
|
|
- qdf_status = qdf_event_create(
|
|
|
- &adapter->qdf_session_open_event);
|
|
|
- if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
|
- hdd_err("failed to create session open QDF event!");
|
|
|
- free_netdev(adapter->dev);
|
|
|
- return NULL;
|
|
|
- }
|
|
|
-
|
|
|
init_completion(&adapter->vdev_destroy_event);
|
|
|
|
|
|
SET_NETDEV_DEV(dev, hdd_ctx->parent_dev);
|