|
@@ -753,11 +753,14 @@ hdd_link_layer_process_iface_stats(struct hdd_adapter *adapter,
|
|
{
|
|
{
|
|
struct sk_buff *vendor_event;
|
|
struct sk_buff *vendor_event;
|
|
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
|
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
|
- int status;
|
|
|
|
|
|
|
|
- status = wlan_hdd_validate_context(hdd_ctx);
|
|
|
|
- if (0 != status)
|
|
|
|
- return;
|
|
|
|
|
|
+ /*
|
|
|
|
+ * There is no need for wlan_hdd_validate_context here. This is a NB
|
|
|
|
+ * operation that will come with DSC synchronization. This ensures that
|
|
|
|
+ * no driver transition will take place as long as this operation is
|
|
|
|
+ * not complete. Thus the need to check validity of hdd_context is not
|
|
|
|
+ * required.
|
|
|
|
+ */
|
|
|
|
|
|
/*
|
|
/*
|
|
* Allocate a size of 4096 for the interface stats comprising
|
|
* Allocate a size of 4096 for the interface stats comprising
|