cw1200: Fix crash in monitor mode.

This commit is contained in:
Solomon Peachy 2013-07-19 23:23:26 -04:00
parent 91e25f71bd
commit 67d580065f
1 changed files with 1 additions and 1 deletions

View File

@ -1165,7 +1165,7 @@ void cw1200_rx_cb(struct cw1200_common *priv,
if (cw1200_handle_action_rx(priv, skb))
return;
} else if (ieee80211_is_beacon(frame->frame_control) &&
!arg->status &&
!arg->status && priv->vif &&
!memcmp(ieee80211_get_SA(frame), priv->vif->bss_conf.bssid,
ETH_ALEN)) {
const u8 *tim_ie;