Fix certain NULL dereference in disabled XR code

Make it even more clear that the code is disabled.  Found by coccinelle.


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4155 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2011-08-03 00:47:06 +00:00
parent ccf1970ea8
commit 43b7f2ddee
1 changed files with 2 additions and 2 deletions

View File

@ -6207,7 +6207,7 @@ ath_node_move_data(const struct ieee80211_node *ni)
/* NB: last descriptor */
ds = prev->bf_desc;
#endif
ts = &bf->bf_dsstatus.ds_txstat;
ts = &prev->bf_dsstatus.ds_txstat;
status = ath_hal_txprocdesc(
ah, ds, ts
);
@ -6402,7 +6402,7 @@ ath_node_move_data(const struct ieee80211_node *ni)
DPRINTF(sc, ATH_DEBUG_XMIT_PROC,
"moved %d buffers from XR to NORMAL\n"m count);
}
#endif
#endif /* NOT_YET */
return 0;
}
#endif