diff options
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/cmd.c')
-rw-r--r-- | drivers/net/wireless/ti/wl1251/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wl1251/cmd.c b/drivers/net/wireless/ti/wl1251/cmd.c index 223649bcaa5a..bf1fa18b9786 100644 --- a/drivers/net/wireless/ti/wl1251/cmd.c +++ b/drivers/net/wireless/ti/wl1251/cmd.c | |||
@@ -448,7 +448,7 @@ int wl1251_cmd_scan(struct wl1251 *wl, u8 *ssid, size_t ssid_len, | |||
448 | * Note: This bug may be caused by the fw's DTIM handling. | 448 | * Note: This bug may be caused by the fw's DTIM handling. |
449 | */ | 449 | */ |
450 | if (is_zero_ether_addr(wl->bssid)) | 450 | if (is_zero_ether_addr(wl->bssid)) |
451 | cmd->params.scan_options |= WL1251_SCAN_OPT_PRIORITY_HIGH; | 451 | cmd->params.scan_options |= cpu_to_le16(WL1251_SCAN_OPT_PRIORITY_HIGH); |
452 | cmd->params.num_channels = n_channels; | 452 | cmd->params.num_channels = n_channels; |
453 | cmd->params.num_probe_requests = n_probes; | 453 | cmd->params.num_probe_requests = n_probes; |
454 | cmd->params.tx_rate = cpu_to_le16(1 << 1); /* 2 Mbps */ | 454 | cmd->params.tx_rate = cpu_to_le16(1 << 1); /* 2 Mbps */ |