mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
qcacld-3.0: Cleanup IBSS code from LIM
Cleanup IBSS related code from LIM. Change-Id: Idebb0f55aa27751f1fdd7b4c1fb8124ae29eb382 CRs-Fixed: 2687017
This commit is contained in:
parent
a196271737
commit
322d8eb806
48 changed files with 89 additions and 3238 deletions
|
|
@ -260,33 +260,6 @@ bool pmo_is_vdev_in_ap_mode(struct wlan_objmgr_vdev *vdev)
|
|||
return (mode == QDF_SAP_MODE || mode == QDF_P2P_GO_MODE) == 1 ? 1 : 0;
|
||||
}
|
||||
|
||||
#ifdef QCA_IBSS_SUPPORT
|
||||
/**
|
||||
* pmo_is_vdev_in_ibss_mode() - check that vdev is in ibss mode or not
|
||||
* @vdev: objmgr vdev handle
|
||||
* @vdev_id: vdev id
|
||||
*
|
||||
* Helper function to know whether given vdev id
|
||||
* is in IBSS mode or not.
|
||||
*
|
||||
* Return: True/False
|
||||
*/
|
||||
static inline
|
||||
bool pmo_is_vdev_in_ibss_mode(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
enum QDF_OPMODE mode;
|
||||
|
||||
mode = pmo_get_vdev_opmode(vdev);
|
||||
|
||||
return (mode == QDF_IBSS_MODE) ? true : false;
|
||||
}
|
||||
#else
|
||||
static inline bool pmo_is_vdev_in_ibss_mode(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif /* QCA_IBSS_SUPPORT */
|
||||
|
||||
/**
|
||||
* pmo_handle_initial_wake_up() - handle initial wake up
|
||||
* @cb_ctx: callback context
|
||||
|
|
|
|||
Loading…
Reference in a new issue