mirror of
https://github.com/proski/madwifi
synced 2024-11-21 22:11:32 +03:00
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:
parent
ccf1970ea8
commit
43b7f2ddee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user