Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da3c821f authored by Stefan Weil's avatar Stefan Weil Committed by John W. Linville
Browse files

wl12xx: fix spelling



Changes (comments and debug output):
* couldnt -> couldn't
* frmware -> firmware
* recevied -> received

Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
Acked-by: default avatarKalle Valo <kalle.valo@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 49513481
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -84,7 +84,7 @@ int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id)
	ret = wl1251_cmd_configure(wl, DOT11_DEFAULT_KEY,
	ret = wl1251_cmd_configure(wl, DOT11_DEFAULT_KEY,
				   default_key, sizeof(*default_key));
				   default_key, sizeof(*default_key));
	if (ret < 0) {
	if (ret < 0) {
		wl1251_error("Couldnt set default key");
		wl1251_error("Couldn't set default key");
		goto out;
		goto out;
	}
	}


@@ -231,7 +231,7 @@ int wl1251_acx_feature_cfg(struct wl1251 *wl)
	ret = wl1251_cmd_configure(wl, ACX_FEATURE_CFG,
	ret = wl1251_cmd_configure(wl, ACX_FEATURE_CFG,
				   feature, sizeof(*feature));
				   feature, sizeof(*feature));
	if (ret < 0) {
	if (ret < 0) {
		wl1251_error("Couldnt set HW encryption");
		wl1251_error("Couldn't set HW encryption");
		goto out;
		goto out;
	}
	}


+2 −2
Original line number Original line Diff line number Diff line
@@ -423,7 +423,7 @@ static void wl1251_irq_work(struct work_struct *work)
		wl->rx_counter =
		wl->rx_counter =
			wl1251_mem_read32(wl, wl->data_path->rx_control_addr);
			wl1251_mem_read32(wl, wl->data_path->rx_control_addr);


		/* We handle a frmware bug here */
		/* We handle a firmware bug here */
		switch ((wl->rx_counter - wl->rx_handled) & 0xf) {
		switch ((wl->rx_counter - wl->rx_handled) & 0xf) {
		case 0:
		case 0:
			wl1251_debug(DEBUG_IRQ, "RX: FW and host in sync");
			wl1251_debug(DEBUG_IRQ, "RX: FW and host in sync");
@@ -575,7 +575,7 @@ static int wl1251_hw_init_data_path_config(struct wl1251 *wl)
	wl->data_path = kzalloc(sizeof(struct acx_data_path_params_resp),
	wl->data_path = kzalloc(sizeof(struct acx_data_path_params_resp),
				GFP_KERNEL);
				GFP_KERNEL);
	if (!wl->data_path) {
	if (!wl->data_path) {
		wl1251_error("Couldnt allocate data path parameters");
		wl1251_error("Couldn't allocate data path parameters");
		return -ENOMEM;
		return -ENOMEM;
	}
	}


+1 −1
Original line number Original line Diff line number Diff line
@@ -88,7 +88,7 @@ struct wl1251_rx_descriptor {
	u8 type;
	u8 type;


	/*
	/*
	 * Recevied Rate:
	 * Received Rate:
	 * 0x0A - 1MBPS
	 * 0x0A - 1MBPS
	 * 0x14 - 2MBPS
	 * 0x14 - 2MBPS
	 * 0x37 - 5_5MBPS
	 * 0x37 - 5_5MBPS