diff options
| author | Ryan Hsu <ryanhsu@qca.qualcomm.com> | 2014-08-18 19:40:38 -0700 |
|---|---|---|
| committer | Pitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com> | 2014-08-28 13:23:54 +0530 |
| commit | f2131be0632aa26201760f83de0cb0356bb8c25d (patch) | |
| tree | 85c997617e70bd70cd74b3b71d8f2826e7dab003 | |
| parent | 967583ee64a57bf9833474394493c03e273c270e (diff) | |
qcacld: hdd: fix SAP in legacy mode
The params->tail buffers is allocated in supplicant.
In the SAP legacy mode, the beacon->tail could carry no data, and the
params->tail_len could be zero.
Remove the invalid checking that leads the SAP fails in legacy mode.
Change-Id: I5e40ba9abff5fdb98ecde7276a13f60230e15de1
CRs-fixed: 711388
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 1ca09024730d..c8edd3db6262 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -4066,13 +4066,6 @@ int wlan_hdd_cfg80211_alloc_new_beacon(hdd_adapter_t *pAdapter, return -EINVAL; } - if (params->tail && !params->tail_len) - { - VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR, - FL("tail_len is zero but tail is not NULL")); - return -EINVAL; - } - if(params->head) head_len = params->head_len; else |
