mt76x2: dfs: take into account dfs region in mt76x2_dfs_init_params()
authorLorenzo Bianconi <[email protected]>
Tue, 9 Jan 2018 13:13:12 +0000 (14:13 +0100)
committerKalle Valo <[email protected]>
Wed, 24 Jan 2018 15:15:34 +0000 (17:15 +0200)
commit634e99f0d4dab19228d7d6c7c6dcf04f30a80a6a
tree46f69b25b8e6ab145232ecbb5ac3ea44c8d0ac33
parent2070f3cc2c2cbaba634ef33b42c37baafd80bd2c
mt76x2: dfs: take into account dfs region in mt76x2_dfs_init_params()

Do not enable DFS state machine if dfs region is set to NL80211_DFS_UNSET

Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
drivers/net/wireless/mediatek/mt76/mt76x2_dfs.c