if iwpriv turbo is set before first beacon update it will segfault because the update...
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 9 Apr 2008 23:10:05 +0000 (23:10 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 9 Apr 2008 23:10:05 +0000 (23:10 +0000)
commita388f3a80cdce09a77336a9cacca93d5edc190ba
tree517d96ae47ae28186d417181e85038ae21c0fe50
parent43de3ce1a01e20637dab85db247ea47f5e1b7cac
if iwpriv turbo is set before first beacon update it will segfault because the update for dturbo comes
before the allocation and initial configuration.  Since there shouldn't be any dturbo switches at this point, some null checks prevent the problem.  I'm not sure where the code should be moved to, but probably further down in the function.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3498 0192ed92-7a03-0410-a25b-9323aeb14dbd
ath/if_ath.c