wl1271: Add handling for failing hardware scan command
Currently, the driver does not handle a failing hardware command to scan in any way - effectively, the scan machine will jam until the driver is shut down, and future scan requests will just return -EBUSY to user space, resulting in a type of busy-loop. The same problem occurs if the firmware fails to deliver the scan completion event - add timeout for this. Signed-off-by:Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by:
Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by:
Luciano Coelho <luciano.coelho@nokia.com>
Showing
- drivers/net/wireless/wl12xx/wl1271.h 2 additions, 1 deletiondrivers/net/wireless/wl12xx/wl1271.h
- drivers/net/wireless/wl12xx/wl1271_main.c 2 additions, 2 deletionsdrivers/net/wireless/wl12xx/wl1271_main.c
- drivers/net/wireless/wl12xx/wl1271_scan.c 26 additions, 4 deletionsdrivers/net/wireless/wl12xx/wl1271_scan.c
- drivers/net/wireless/wl12xx/wl1271_scan.h 2 additions, 0 deletionsdrivers/net/wireless/wl12xx/wl1271_scan.h
Loading
Please register or sign in to comment