Re: [PATCH 4/5] mwl8k: prevent crash in ->configure_filter() if no interface was added

Johannes Berg
2009-08-03T20:03:42Z

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

On Mon, 2009-08-03 at 21:58 +0200, Lennert Buytenhek wrote:

> if (changed_flags & FIF_BCN_PRBRESP_PROMISC) {
> if (*total_flags & FIF_BCN_PRBRESP_PROMISC)
> rc = mwl8k_cmd_set_pre_scan(hw);
> else {
> - mv_vif = MWL8K_VIF(priv->vif);
> - rc = mwl8k_cmd_set_post_scan(hw, mv_vif->bssid);

Btw, there are pre- and post-scan hooks now.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]