summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Joshi <ravij@codeaurora.org>2016-06-13 16:46:44 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-06-27 18:16:50 -0700
commitc3f5c8a6bf953e12de2cb20b5ffcbdd2de0056b7 (patch)
tree6f64a9dd7215842c9816aeb759a4bcc5d435d283
parent79746acb37a9600aa7d5df6eac0bacfcfd3d18c7 (diff)
qcacld-3.0: Use unified tx queue and carrier control API
Use unified tx queue and carrier control API instead of using independent APIs. Change-Id: Id559b585383a24900cead5d28262b692714b95cd CRs-fixed: 1027816
-rw-r--r--core/hdd/src/wlan_hdd_ocb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/hdd/src/wlan_hdd_ocb.c b/core/hdd/src/wlan_hdd_ocb.c
index 71e6fddb62af..6049680c9ac6 100644
--- a/core/hdd/src/wlan_hdd_ocb.c
+++ b/core/hdd/src/wlan_hdd_ocb.c
@@ -384,9 +384,9 @@ static void hdd_ocb_set_config_callback(void *context_ptr, void *response_ptr)
* Open the TX data path
*/
if (!hdd_ocb_register_sta(adapter)) {
- netif_carrier_on(adapter->dev);
- netif_tx_start_all_queues(
- adapter->dev);
+ wlan_hdd_netif_queue_control(adapter,
+ WLAN_START_ALL_NETIF_QUEUE_N_CARRIER,
+ WLAN_CONTROL_PATH);
}
}
@@ -423,8 +423,8 @@ static int hdd_ocb_set_config_req(hdd_adapter_t *adapter,
context.magic = HDD_OCB_MAGIC;
hddLog(LOG1, FL("Disabling queues"));
- netif_tx_disable(adapter->dev);
- netif_carrier_off(adapter->dev);
+ wlan_hdd_netif_queue_control(adapter, WLAN_NETIF_TX_DISABLE_N_CARRIER,
+ WLAN_CONTROL_PATH);
/* Call the SME API to set the config */
qdf_status = sme_ocb_set_config(