cnss2: Wlan is going into recovery mode due to pcie link down
Due to pcie link down, wlan tried to recover from the
failure, it checked for the current context to see if
some memory has to be allocated in atomic context, but
seems it failed to take into account one condition.
To maintain wlan driver code as OS independent, code changes
are done to allocate memory always with GFP_ATOMIC flag inside
cnss_schedule_recovery() function. This avoids adding gfp flags
inside wlan driver code.
Change-Id: I255d22a46288eccc2056d870b5f3ee7575ee71eb
Signed-off-by:
Gangadhar Kavalastramath <quic_gkavalas@quicinc.com>
Loading
Please register or sign in to comment