Some hostap setups may result in raw frames being transmitted with

no parameters set.  So, don't unconditionally call things.

Thanks to jkim@ for pointing this out!

MFC after:	2 weeks
Sponsored by:	Norse Corp, Inc.
This commit is contained in:
Adrian Chadd 2015-06-04 23:07:21 +00:00
parent c0806cdc21
commit 3a1da00bd9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284003

View File

@ -525,7 +525,8 @@ ieee80211_raw_output(struct ieee80211vap *vap, struct ieee80211_node *ni,
* they'll have to be added - so fail the transmit if
* they can't be.
*/
(void) ieee80211_add_xmit_params(m, params);
if (params)
(void) ieee80211_add_xmit_params(m, params);
return (ic->ic_raw_xmit(ni, m, params));
}