Check for driver's DFS offload capability before handling DFS
authorSunil Dutt <usdutt@qti.qualcomm.com>
Mon, 22 Sep 2014 09:06:01 +0000 (14:36 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 22 Sep 2014 13:50:28 +0000 (16:50 +0300)
commitc53a9bf8180819c2e67be51c1e44b5d942cdc6f9
treed686767ca7990044e14fb0abc3451b570686cfbd
parent068e38771e2064e83824889b55e7d47e75b3c2aa
Check for driver's DFS offload capability before handling DFS

This fixes couple of code paths where the WPA_DRIVER_FLAGS_DFS_OFFLOAD
flag was not checked properly and unexpected DFS operations were
initiated (and failed) in case the driver handles all these steps.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/beacon.c
src/ap/hostapd.c