mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacld-3.0: Return 0 if rx aggregation missed
In QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION cmd parameters, If attribute QCA_WLAN_VENDOR_ATTR_CONFIG_RX_MPDU_AGGREGATION is missed, should return 0 instead of failed. Change-Id: I5e570b9237768800e06d839814919d058a5e1d1f CRs-Fixed: 2926104
This commit is contained in:
parent
6cc5d12787
commit
e7e4e1fbec
1 changed files with 4 additions and 8 deletions
|
|
@ -7617,10 +7617,8 @@ static int hdd_config_mpdu_aggregation(struct hdd_adapter *adapter,
|
|||
uint8_t rx_size;
|
||||
QDF_STATUS status;
|
||||
|
||||
if (!rx_attr) {
|
||||
hdd_err("Missing attribute for RX");
|
||||
return -EINVAL;
|
||||
}
|
||||
if (!rx_attr)
|
||||
return 0;
|
||||
|
||||
rx_size = nla_get_u8(rx_attr);
|
||||
if (!cfg_in_range(CFG_RX_AGGREGATION_SIZE, rx_size)) {
|
||||
|
|
@ -7645,10 +7643,8 @@ static int hdd_config_msdu_aggregation(struct hdd_adapter *adapter,
|
|||
uint8_t rx_size;
|
||||
QDF_STATUS status;
|
||||
|
||||
if (!rx_attr) {
|
||||
hdd_err("Missing attribute for RX");
|
||||
return -EINVAL;
|
||||
}
|
||||
if (!rx_attr)
|
||||
return 0;
|
||||
|
||||
rx_size = nla_get_u8(rx_attr);
|
||||
if (!cfg_in_range(CFG_RX_AGGREGATION_SIZE, rx_size)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue