aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rtwn
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rtwn')
-rw-r--r--sys/dev/rtwn/if_rtwn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/rtwn/if_rtwn.c b/sys/dev/rtwn/if_rtwn.c
index 25287f222270..c5889937fb08 100644
--- a/sys/dev/rtwn/if_rtwn.c
+++ b/sys/dev/rtwn/if_rtwn.c
@@ -271,6 +271,11 @@ rtwn_attach(struct rtwn_softc *sc)
/* Enable seqno offload */
ic->ic_flags_ext |= IEEE80211_FEXT_SEQNO_OFFLOAD;
+#ifdef RTWN_WITHOUT_UCODE
+ /* Don't originate NULL data frames - let firmware do this */
+ ic->ic_flags_ext |= IEEE80211_FEXT_NO_NULLDATA;
+#endif
+
/* Adjust capabilities. */
rtwn_adj_devcaps(sc);