Protect against NULL in ath_beacon_config()
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sun, 16 Dec 2007 16:40:42 +0000 (16:40 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sun, 16 Dec 2007 16:40:42 +0000 (16:40 +0000)
commit03538d0225d80dc5915ab69aa7ec8d83ae3eee07
tree87dc064819e54999f2db64a496823888fc6dee87
parent9fbdb5c7a28a1fabb80547cc9e1a995da311d1c1
Protect against NULL in ath_beacon_config()

It's called with NULL vap in several places, and the old
ath_beacon_config() had such protection.  Without this check, the kernel
panics after association in managed mode.

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