wlan: SoftAP does not work in 802.11b mode
Softap was not working after changing hw_mode to
"b" due to invalid condition checking during beacon
allocation.
Remove the conditions which were not allowing beacon
allocation when SAP is turned on in 11b mode.
Change-Id: I3799b5e20e61fd1f8ae2b5530d68c2fb3bd96953
CRs-Fixed: 573490
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 688ee56..0ba8790 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -1019,9 +1019,6 @@
if (!params->head && !old)
return -EINVAL;
- if (params->tail && !params->tail_len)
- return -EINVAL;
-
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,38))
/* Kernel 3.0 is not updating dtim_period for set beacon */
if (!params->dtim_period)