1) restrict 'hostap' mediaopt to prism2 chips 2) set ether_dhost and ether_shost based on wi_dst_addr and wi_src_addr    respectively.  This allows packets to traverse the hostap and is also    what FreeBSD and NetBSD both do. 3) Move the setting of tx_frame.wi_frame_ctl to be right after we zero    tx_frame.  Otherwise we end up clearing the WI_FCTL_FROMDS flag. 4) Use some ETHER_* constants instead of hard-coding things (cosmetic only)
1) restrict 'hostap' mediaopt to prism2 chips
2) set ether_dhost and ether_shost based on wi_dst_addr and wi_src_addr
   respectively.  This allows packets to traverse the hostap and is also
   what FreeBSD and NetBSD both do.
3) Move the setting of tx_frame.wi_frame_ctl to be right after we zero
   tx_frame.  Otherwise we end up clearing the WI_FCTL_FROMDS flag.
4) Use some ETHER_* constants instead of hard-coding things (cosmetic only)

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars