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
부모 91f2654d56
커밋 6e19edc1e4
4개의 변경된 파일23개의 추가작업 그리고 10개의 파일을 삭제

파일 보기

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -108,15 +108,15 @@ target_if_scan_cancel(struct wlan_objmgr_psoc *psoc,
struct scan_cancel_param *req);
/**
* target_if_register_scan_tx_ops() - lmac handler to register scan tx_ops
* target_if_scan_tx_ops_register() - lmac handler to register scan tx_ops
* callback functions
* @scan: wlan_lmac_if_scan_tx_ops object
* @tx_ops: wlan_lmac_if_tx_ops object
*
* Return: QDF_STATUS
*/
QDF_STATUS
target_if_register_scan_tx_ops(struct wlan_lmac_if_scan_tx_ops *scan);
target_if_scan_tx_ops_register(struct wlan_lmac_if_tx_ops *tx_ops);
/**
* target_if_scan_set_max_active_scans() - lmac handler to set max active scans