qcacmn: Update function name and remove redundant code

Rename scan_tx_ops_register for consistency
Remove redundant lines of code in tx_ops registration

Change-Id: I3ade89f7eeb1f506f75b5c859dd4bc4242414628
CRs-Fixed: 2127952
This commit is contained in:
akosigi
2017-11-03 11:36:32 +05:30
committed by snandini
orang tua 91f2654d56
melakukan 6e19edc1e4
4 mengubah file dengan 23 tambahan dan 10 penghapusan

Melihat File

@@ -377,7 +377,7 @@ QDF_STATUS target_if_register_umac_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
wlan_lmac_if_umac_tx_ops_register(tx_ops);
/* Register scan tx ops */
target_if_register_scan_tx_ops(&tx_ops->scan);
target_if_scan_tx_ops_register(tx_ops);
target_if_atf_tx_ops_register(tx_ops);
@@ -422,9 +422,6 @@ QDF_STATUS target_if_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
/* Converged UMAC components to register P2P TX-ops */
target_if_p2p_register_tx_ops(tx_ops);
#endif
#ifdef CONVERGED_TDLS_ENABLE
target_if_tdls_register_tx_ops(tx_ops);
#endif
return QDF_STATUS_SUCCESS;
}