~ubuntu-branches/ubuntu/raring/ipxe/raring

« back to all changes in this revision

Viewing changes to src/net/80211/net80211.c

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-11-14 15:47:31 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20121114154731-jhuy5d1h2jw75qe9
Tags: 1.0.0+git-4.d6b0b76-0ubuntu1
* New upstream snapshot:
  - d/p/iscsi*.patch: Dropped - included in snapshot.
  - Refreshed all other patches.
* d/p/enable-https.patch: Enable HTTPS support (LP: #1025239).

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *
16
16
 * You should have received a copy of the GNU General Public License
17
17
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
19
 * 02110-1301, USA.
19
20
 */
20
21
 
21
22
FILE_LICENCE ( GPL2_OR_LATER );
386
387
 
387
388
/* ---------- 802.11 link-layer protocol ---------- */
388
389
 
389
 
/** 802.11 broadcast MAC address */
390
 
static u8 net80211_ll_broadcast[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
391
 
 
392
390
/**
393
391
 * Determine whether a transmission rate uses ERP/OFDM
394
392
 *
762
760
                return NULL;
763
761
 
764
762
        netdev->ll_protocol = &net80211_ll_protocol;
765
 
        netdev->ll_broadcast = net80211_ll_broadcast;
 
763
        netdev->ll_broadcast = eth_broadcast;
766
764
        netdev->max_pkt_len = IEEE80211_MAX_DATA_LEN;
767
765
        netdev_init ( netdev, &net80211_netdev_ops );
768
766
 
1398
1396
 
1399
1397
                        ctx->probe = iob;
1400
1398
                        rc = net80211_tx_mgmt ( dev, IEEE80211_STYPE_PROBE_REQ,
1401
 
                                                net80211_ll_broadcast,
 
1399
                                                eth_broadcast,
1402
1400
                                                iob_disown ( siob ) );
1403
1401
                        if ( rc ) {
1404
1402
                                DBGC ( dev, "802.11 %p send probe failed: "