qcacld-3.0: Fix random mac addr set issue
For every random mac addr set/clear command to firmware, driver gets reply from firmware whether success or fail. But sometimes, if the response event is delayed by more than 100ms by firmware then timeout happens in HDD. Upon timeout, driver sends clear random mac command which gets dropped in p2p_process_set_rand_mac API as prev command status from firmware is pending. So fix is to increase the timeout value to 1000ms Change-Id: I6116259b5d34269a8c98712d978957cfd374cdc1 CRs-Fixed: 3199989
This commit is contained in:

committed by
Madan Koyyalamudi

parent
dc7bac8f28
commit
4bb21dde9e
@@ -60,7 +60,7 @@
|
||||
#define P2P_GET_TYPE_FRM_FC(__fc__) (((__fc__) & 0x0F) >> 2)
|
||||
#define P2P_GET_SUBTYPE_FRM_FC(__fc__) (((__fc__) & 0xF0) >> 4)
|
||||
|
||||
#define WLAN_WAIT_TIME_SET_RND 100
|
||||
#define WLAN_WAIT_TIME_SET_RND 1000
|
||||
|
||||
struct p2p_soc_priv_obj;
|
||||
struct cancel_roc_context;
|
||||
|
Reference in New Issue
Block a user