mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
Merge "qcacld-3.0: Support to tx probe request frame" into wlan-cld3.driver.lnx.2.0
This commit is contained in:
commit
d96478e651
1 changed files with 5 additions and 5 deletions
|
|
@ -721,11 +721,6 @@ static QDF_STATUS p2p_get_frame_info(uint8_t *data_buf, uint32_t length,
|
|||
}
|
||||
|
||||
frame_info->type = P2P_FRAME_MGMT;
|
||||
if (sub_type != P2P_MGMT_PROBE_RSP &&
|
||||
sub_type != P2P_MGMT_ACTION) {
|
||||
p2p_err("not support sub type");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (sub_type == P2P_MGMT_PROBE_RSP) {
|
||||
frame_info->sub_type = P2P_MGMT_PROBE_RSP;
|
||||
|
|
@ -739,6 +734,11 @@ static QDF_STATUS p2p_get_frame_info(uint8_t *data_buf, uint32_t length,
|
|||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (sub_type != P2P_MGMT_ACTION) {
|
||||
p2p_debug("not support sub type");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
frame_info->sub_type = P2P_MGMT_ACTION;
|
||||
buf += P2P_ACTION_OFFSET;
|
||||
if (length > P2P_PUBLIC_ACTION_FRAME_TYPE_OFFSET &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue