package/hostapd: fix crash in atheros driver (#8143) hapd->driver->set_operstate...
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 Oct 2010 21:25:39 +0000 (21:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 Oct 2010 21:25:39 +0000 (21:25 +0000)
commit434c8dbf3353a40e931d0db2e35fa2c8b4cbe576
treec48605f995a2f54194ecc6f226d9d2d49cf098b6
parent9d61a9b1c6e57e6b07cf19dc0cbe78bc1b0e5f70
package/hostapd: fix crash in atheros driver (#8143) hapd->driver->set_operstate may happen when the drv_priv data is not initialized yet, this leads to a null pointer deref in the atheros driver. Protect the operstate call with a check for hapd->drv_priv.

SVN-Revision: 23715
package/hostapd/patches/460-oper_state_fix.patch