if (crypt->ops->encrypt_mpdu) 
if (crypt->ops && crypt->ops->encrypt_mpdu) 
static inline int ieee80211_encrypt_fragment(struct ieee80211_device *ieee,					     struct sk_buff *frag, int hdr_len){	struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx];	int res;	/* To encrypt, frame format is:	 * IV (4 bytes), clear payload (including SNAP), ICV (4 bytes) */	atomic_inc(&crypt->refcnt);	res = 0;	if (crypt->ops->encrypt_mpdu)		res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv);	atomic_dec(&crypt->refcnt);	if (res < 0) {		printk(KERN_INFO "%s: Encryption failed: len=%d.\n",		       ieee->dev->name, frag->len);		ieee->ieee_stats.tx_discards++;		return -1;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f0f15ab5542f73d07e35eeee713df289599427b2/ieee80211_tx.c/clean/net/ieee80211/ieee80211_tx.c