mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
c0806cdc21
commit
3a1da00bd9
1 changed files with 2 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue