cfg80211: move world roaming check for beacon hints
We should not add new beacon hints even if the wiphy is not world roaming. Without this we were always adding a beacon hint if not world roaming for every non world roaming wiphy interface. Tested-by: NBen Greear <greearb@candelatech.com> Reported-by: NBen Greear <greearb@candelatech.com> Reported-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NLuis R. Rodriguez <mcgrof@do-not-panic.com> [fix locking] Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Showing
想要评论请 注册 或 登录