Fix oops due to sysctl table check failure in Linux 2.6.24
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 29 Oct 2007 04:19:27 +0000 (04:19 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 29 Oct 2007 04:19:27 +0000 (04:19 +0000)
commitb7186f5480baf766ac61179fb07b50d32c37fa12
tree498fd4fd92017eae0168b6b00c096cebfafa5ca9
parent01a0d01102d3aa0eed3600ea5e711cff823ddf80
Fix oops due to sysctl table check failure in Linux 2.6.24

Linux 2.6.24 has a sysctl table checker that rejects the tables
presented by the driver.  Make the code survive this condition.  Free
devname (or dev_name) before freeing the table.  Don't do it at the
unregister time, it's too late.

The sysctl tables still need to be fixed.

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