diff options
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index df7e16dfb36c..8b06ca56125e 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -1056,6 +1056,7 @@ static void b43legacy_write_probe_resp_plcp(struct b43legacy_wldev *dev, | |||
1056 | b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate->hw_value); | 1056 | b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate->hw_value); |
1057 | dur = ieee80211_generic_frame_duration(dev->wl->hw, | 1057 | dur = ieee80211_generic_frame_duration(dev->wl->hw, |
1058 | dev->wl->vif, | 1058 | dev->wl->vif, |
1059 | IEEE80211_BAND_2GHZ, | ||
1059 | size, | 1060 | size, |
1060 | rate); | 1061 | rate); |
1061 | /* Write PLCP in two parts and timing for packet transfer */ | 1062 | /* Write PLCP in two parts and timing for packet transfer */ |
@@ -1121,6 +1122,7 @@ static const u8 *b43legacy_generate_probe_resp(struct b43legacy_wldev *dev, | |||
1121 | IEEE80211_STYPE_PROBE_RESP); | 1122 | IEEE80211_STYPE_PROBE_RESP); |
1122 | dur = ieee80211_generic_frame_duration(dev->wl->hw, | 1123 | dur = ieee80211_generic_frame_duration(dev->wl->hw, |
1123 | dev->wl->vif, | 1124 | dev->wl->vif, |
1125 | IEEE80211_BAND_2GHZ, | ||
1124 | *dest_size, | 1126 | *dest_size, |
1125 | rate); | 1127 | rate); |
1126 | hdr->duration_id = dur; | 1128 | hdr->duration_id = dur; |
@@ -1506,7 +1508,7 @@ static void b43legacy_release_firmware(struct b43legacy_wldev *dev) | |||
1506 | 1508 | ||
1507 | static void b43legacy_print_fw_helptext(struct b43legacy_wl *wl) | 1509 | static void b43legacy_print_fw_helptext(struct b43legacy_wl *wl) |
1508 | { | 1510 | { |
1509 | b43legacyerr(wl, "You must go to http://linuxwireless.org/en/users/" | 1511 | b43legacyerr(wl, "You must go to http://wireless.kernel.org/en/users/" |
1510 | "Drivers/b43#devicefirmware " | 1512 | "Drivers/b43#devicefirmware " |
1511 | "and download the correct firmware (version 3).\n"); | 1513 | "and download the correct firmware (version 3).\n"); |
1512 | } | 1514 | } |
@@ -1571,8 +1573,6 @@ static void b43legacy_request_firmware(struct work_struct *work) | |||
1571 | const char *filename; | 1573 | const char *filename; |
1572 | int err; | 1574 | int err; |
1573 | 1575 | ||
1574 | /* do dummy read */ | ||
1575 | ssb_read32(dev->dev, SSB_TMSHIGH); | ||
1576 | if (!fw->ucode) { | 1576 | if (!fw->ucode) { |
1577 | if (rev == 2) | 1577 | if (rev == 2) |
1578 | filename = "ucode2"; | 1578 | filename = "ucode2"; |
@@ -3779,7 +3779,7 @@ static void b43legacy_sprom_fixup(struct ssb_bus *bus) | |||
3779 | /* boardflags workarounds */ | 3779 | /* boardflags workarounds */ |
3780 | if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && | 3780 | if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && |
3781 | bus->boardinfo.type == 0x4E && | 3781 | bus->boardinfo.type == 0x4E && |
3782 | bus->boardinfo.rev > 0x40) | 3782 | bus->sprom.board_rev > 0x40) |
3783 | bus->sprom.boardflags_lo |= B43legacy_BFL_PACTRL; | 3783 | bus->sprom.boardflags_lo |= B43legacy_BFL_PACTRL; |
3784 | } | 3784 | } |
3785 | 3785 | ||