diff options
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.c')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index cb59f46ed126..797d3fbf7154 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -21,8 +21,8 @@ | |||
21 | static const char usbdriver_name[] = "usb8xxx"; | 21 | static const char usbdriver_name[] = "usb8xxx"; |
22 | static u8 *default_fw_name = "usb8388.bin"; | 22 | static u8 *default_fw_name = "usb8388.bin"; |
23 | 23 | ||
24 | static char *libertas_fw_name = NULL; | 24 | static char *lbs_fw_name; |
25 | module_param_named(fw_name, libertas_fw_name, charp, 0644); | 25 | module_param_named(fw_name, lbs_fw_name, charp, 0644); |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * We need to send a RESET command to all USB devices before | 28 | * We need to send a RESET command to all USB devices before |
@@ -45,9 +45,9 @@ MODULE_DEVICE_TABLE(usb, if_usb_table); | |||
45 | static void if_usb_receive(struct urb *urb); | 45 | static void if_usb_receive(struct urb *urb); |
46 | static void if_usb_receive_fwload(struct urb *urb); | 46 | static void if_usb_receive_fwload(struct urb *urb); |
47 | static int if_usb_prog_firmware(struct usb_card_rec *cardp); | 47 | static int if_usb_prog_firmware(struct usb_card_rec *cardp); |
48 | static int if_usb_host_to_card(wlan_private * priv, u8 type, u8 * payload, u16 nb); | 48 | static int if_usb_host_to_card(lbs_private *priv, u8 type, u8 *payload, u16 nb); |
49 | static int if_usb_get_int_status(wlan_private * priv, u8 *); | 49 | static int if_usb_get_int_status(lbs_private *priv, u8 *); |
50 | static int if_usb_read_event_cause(wlan_private *); | 50 | static int if_usb_read_event_cause(lbs_private *); |
51 | static int usb_tx_block(struct usb_card_rec *cardp, u8 *payload, u16 nb); | 51 | static int usb_tx_block(struct usb_card_rec *cardp, u8 *payload, u16 nb); |
52 | static void if_usb_free(struct usb_card_rec *cardp); | 52 | static void if_usb_free(struct usb_card_rec *cardp); |
53 | static int if_usb_submit_rx_urb(struct usb_card_rec *cardp); | 53 | static int if_usb_submit_rx_urb(struct usb_card_rec *cardp); |
@@ -65,7 +65,7 @@ static void if_usb_write_bulk_callback(struct urb *urb) | |||
65 | /* handle the transmission complete validations */ | 65 | /* handle the transmission complete validations */ |
66 | 66 | ||
67 | if (urb->status == 0) { | 67 | if (urb->status == 0) { |
68 | wlan_private *priv = cardp->priv; | 68 | lbs_private *priv = cardp->priv; |
69 | 69 | ||
70 | /* | 70 | /* |
71 | lbs_deb_usbd(&urb->dev->dev, "URB status is successfull\n"); | 71 | lbs_deb_usbd(&urb->dev->dev, "URB status is successfull\n"); |
@@ -77,7 +77,7 @@ static void if_usb_write_bulk_callback(struct urb *urb) | |||
77 | * valid at firmware load time. | 77 | * valid at firmware load time. |
78 | */ | 78 | */ |
79 | if (priv) { | 79 | if (priv) { |
80 | wlan_adapter *adapter = priv->adapter; | 80 | lbs_adapter *adapter = priv->adapter; |
81 | struct net_device *dev = priv->dev; | 81 | struct net_device *dev = priv->dev; |
82 | 82 | ||
83 | priv->dnld_sent = DNLD_RES_RECEIVED; | 83 | priv->dnld_sent = DNLD_RES_RECEIVED; |
@@ -86,7 +86,7 @@ static void if_usb_write_bulk_callback(struct urb *urb) | |||
86 | if (!adapter->cur_cmd) | 86 | if (!adapter->cur_cmd) |
87 | wake_up_interruptible(&priv->waitq); | 87 | wake_up_interruptible(&priv->waitq); |
88 | 88 | ||
89 | if ((adapter->connect_status == LIBERTAS_CONNECTED)) { | 89 | if ((adapter->connect_status == LBS_CONNECTED)) { |
90 | netif_wake_queue(dev); | 90 | netif_wake_queue(dev); |
91 | netif_wake_queue(priv->mesh_dev); | 91 | netif_wake_queue(priv->mesh_dev); |
92 | } | 92 | } |
@@ -136,7 +136,7 @@ static int if_usb_probe(struct usb_interface *intf, | |||
136 | struct usb_device *udev; | 136 | struct usb_device *udev; |
137 | struct usb_host_interface *iface_desc; | 137 | struct usb_host_interface *iface_desc; |
138 | struct usb_endpoint_descriptor *endpoint; | 138 | struct usb_endpoint_descriptor *endpoint; |
139 | wlan_private *priv; | 139 | lbs_private *priv; |
140 | struct usb_card_rec *cardp; | 140 | struct usb_card_rec *cardp; |
141 | int i; | 141 | int i; |
142 | 142 | ||
@@ -222,12 +222,12 @@ static int if_usb_probe(struct usb_interface *intf, | |||
222 | goto err_prog_firmware; | 222 | goto err_prog_firmware; |
223 | } | 223 | } |
224 | 224 | ||
225 | if (!(priv = libertas_add_card(cardp, &udev->dev))) | 225 | if (!(priv = lbs_add_card(cardp, &udev->dev))) |
226 | goto err_prog_firmware; | 226 | goto err_prog_firmware; |
227 | 227 | ||
228 | cardp->priv = priv; | 228 | cardp->priv = priv; |
229 | 229 | ||
230 | if (libertas_add_mesh(priv, &udev->dev)) | 230 | if (lbs_add_mesh(priv, &udev->dev)) |
231 | goto err_add_mesh; | 231 | goto err_add_mesh; |
232 | 232 | ||
233 | cardp->eth_dev = priv->dev; | 233 | cardp->eth_dev = priv->dev; |
@@ -242,7 +242,7 @@ static int if_usb_probe(struct usb_interface *intf, | |||
242 | msleep_interruptible(200); | 242 | msleep_interruptible(200); |
243 | priv->adapter->fw_ready = 1; | 243 | priv->adapter->fw_ready = 1; |
244 | 244 | ||
245 | if (libertas_start_card(priv)) | 245 | if (lbs_start_card(priv)) |
246 | goto err_start_card; | 246 | goto err_start_card; |
247 | 247 | ||
248 | list_add_tail(&cardp->list, &usb_devices); | 248 | list_add_tail(&cardp->list, &usb_devices); |
@@ -253,9 +253,9 @@ static int if_usb_probe(struct usb_interface *intf, | |||
253 | return 0; | 253 | return 0; |
254 | 254 | ||
255 | err_start_card: | 255 | err_start_card: |
256 | libertas_remove_mesh(priv); | 256 | lbs_remove_mesh(priv); |
257 | err_add_mesh: | 257 | err_add_mesh: |
258 | libertas_remove_card(priv); | 258 | lbs_remove_card(priv); |
259 | err_prog_firmware: | 259 | err_prog_firmware: |
260 | if_usb_reset_device(cardp); | 260 | if_usb_reset_device(cardp); |
261 | dealloc: | 261 | dealloc: |
@@ -273,7 +273,7 @@ error: | |||
273 | static void if_usb_disconnect(struct usb_interface *intf) | 273 | static void if_usb_disconnect(struct usb_interface *intf) |
274 | { | 274 | { |
275 | struct usb_card_rec *cardp = usb_get_intfdata(intf); | 275 | struct usb_card_rec *cardp = usb_get_intfdata(intf); |
276 | wlan_private *priv = (wlan_private *) cardp->priv; | 276 | lbs_private *priv = (lbs_private *) cardp->priv; |
277 | 277 | ||
278 | lbs_deb_enter(LBS_DEB_MAIN); | 278 | lbs_deb_enter(LBS_DEB_MAIN); |
279 | 279 | ||
@@ -283,12 +283,12 @@ static void if_usb_disconnect(struct usb_interface *intf) | |||
283 | list_del(&cardp->list); | 283 | list_del(&cardp->list); |
284 | 284 | ||
285 | if (priv) { | 285 | if (priv) { |
286 | wlan_adapter *adapter = priv->adapter; | 286 | lbs_adapter *adapter = priv->adapter; |
287 | 287 | ||
288 | adapter->surpriseremoved = 1; | 288 | adapter->surpriseremoved = 1; |
289 | libertas_stop_card(priv); | 289 | lbs_stop_card(priv); |
290 | libertas_remove_mesh(priv); | 290 | lbs_remove_mesh(priv); |
291 | libertas_remove_card(priv); | 291 | lbs_remove_card(priv); |
292 | } | 292 | } |
293 | 293 | ||
294 | /* Unlink and free urb */ | 294 | /* Unlink and free urb */ |
@@ -302,7 +302,7 @@ static void if_usb_disconnect(struct usb_interface *intf) | |||
302 | 302 | ||
303 | /** | 303 | /** |
304 | * @brief This function download FW | 304 | * @brief This function download FW |
305 | * @param priv pointer to wlan_private | 305 | * @param priv pointer to lbs_private |
306 | * @return 0 | 306 | * @return 0 |
307 | */ | 307 | */ |
308 | static int if_prog_firmware(struct usb_card_rec *cardp) | 308 | static int if_prog_firmware(struct usb_card_rec *cardp) |
@@ -385,7 +385,7 @@ static int if_prog_firmware(struct usb_card_rec *cardp) | |||
385 | static int if_usb_reset_device(struct usb_card_rec *cardp) | 385 | static int if_usb_reset_device(struct usb_card_rec *cardp) |
386 | { | 386 | { |
387 | int ret; | 387 | int ret; |
388 | wlan_private * priv = cardp->priv; | 388 | lbs_private * priv = cardp->priv; |
389 | 389 | ||
390 | lbs_deb_enter(LBS_DEB_USB); | 390 | lbs_deb_enter(LBS_DEB_USB); |
391 | 391 | ||
@@ -395,7 +395,7 @@ static int if_usb_reset_device(struct usb_card_rec *cardp) | |||
395 | ret = usb_reset_device(cardp->udev); | 395 | ret = usb_reset_device(cardp->udev); |
396 | if (!ret && priv) { | 396 | if (!ret && priv) { |
397 | msleep(10); | 397 | msleep(10); |
398 | ret = libertas_reset_device(priv); | 398 | ret = lbs_reset_device(priv); |
399 | msleep(10); | 399 | msleep(10); |
400 | } | 400 | } |
401 | 401 | ||
@@ -406,7 +406,7 @@ static int if_usb_reset_device(struct usb_card_rec *cardp) | |||
406 | 406 | ||
407 | /** | 407 | /** |
408 | * @brief This function transfer the data to the device. | 408 | * @brief This function transfer the data to the device. |
409 | * @param priv pointer to wlan_private | 409 | * @param priv pointer to lbs_private |
410 | * @param payload pointer to payload data | 410 | * @param payload pointer to payload data |
411 | * @param nb data length | 411 | * @param nb data length |
412 | * @return 0 or -1 | 412 | * @return 0 or -1 |
@@ -583,7 +583,7 @@ exit: | |||
583 | 583 | ||
584 | static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, | 584 | static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, |
585 | struct usb_card_rec *cardp, | 585 | struct usb_card_rec *cardp, |
586 | wlan_private *priv) | 586 | lbs_private *priv) |
587 | { | 587 | { |
588 | if (recvlength > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + | 588 | if (recvlength > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + |
589 | MESSAGE_HEADER_LEN || recvlength < MRVDRV_MIN_PKT_LEN) { | 589 | MESSAGE_HEADER_LEN || recvlength < MRVDRV_MIN_PKT_LEN) { |
@@ -596,14 +596,14 @@ static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, | |||
596 | skb_reserve(skb, IPFIELD_ALIGN_OFFSET); | 596 | skb_reserve(skb, IPFIELD_ALIGN_OFFSET); |
597 | skb_put(skb, recvlength); | 597 | skb_put(skb, recvlength); |
598 | skb_pull(skb, MESSAGE_HEADER_LEN); | 598 | skb_pull(skb, MESSAGE_HEADER_LEN); |
599 | libertas_process_rxed_packet(priv, skb); | 599 | lbs_process_rxed_packet(priv, skb); |
600 | priv->upld_len = (recvlength - MESSAGE_HEADER_LEN); | 600 | priv->upld_len = (recvlength - MESSAGE_HEADER_LEN); |
601 | } | 601 | } |
602 | 602 | ||
603 | static inline void process_cmdrequest(int recvlength, u8 *recvbuff, | 603 | static inline void process_cmdrequest(int recvlength, u8 *recvbuff, |
604 | struct sk_buff *skb, | 604 | struct sk_buff *skb, |
605 | struct usb_card_rec *cardp, | 605 | struct usb_card_rec *cardp, |
606 | wlan_private *priv) | 606 | lbs_private *priv) |
607 | { | 607 | { |
608 | u8 *cmdbuf; | 608 | u8 *cmdbuf; |
609 | if (recvlength > MRVDRV_SIZE_OF_CMD_BUFFER) { | 609 | if (recvlength > MRVDRV_SIZE_OF_CMD_BUFFER) { |
@@ -631,7 +631,7 @@ static inline void process_cmdrequest(int recvlength, u8 *recvbuff, | |||
631 | priv->upld_len); | 631 | priv->upld_len); |
632 | 632 | ||
633 | kfree_skb(skb); | 633 | kfree_skb(skb); |
634 | libertas_interrupt(priv->dev); | 634 | lbs_interrupt(priv->dev); |
635 | spin_unlock(&priv->adapter->driver_lock); | 635 | spin_unlock(&priv->adapter->driver_lock); |
636 | 636 | ||
637 | lbs_deb_usbd(&cardp->udev->dev, | 637 | lbs_deb_usbd(&cardp->udev->dev, |
@@ -652,7 +652,7 @@ static void if_usb_receive(struct urb *urb) | |||
652 | struct read_cb_info *rinfo = (struct read_cb_info *)urb->context; | 652 | struct read_cb_info *rinfo = (struct read_cb_info *)urb->context; |
653 | struct sk_buff *skb = rinfo->skb; | 653 | struct sk_buff *skb = rinfo->skb; |
654 | struct usb_card_rec *cardp = (struct usb_card_rec *) rinfo->cardp; | 654 | struct usb_card_rec *cardp = (struct usb_card_rec *) rinfo->cardp; |
655 | wlan_private * priv = cardp->priv; | 655 | lbs_private * priv = cardp->priv; |
656 | 656 | ||
657 | int recvlength = urb->actual_length; | 657 | int recvlength = urb->actual_length; |
658 | u8 *recvbuff = NULL; | 658 | u8 *recvbuff = NULL; |
@@ -695,14 +695,14 @@ static void if_usb_receive(struct urb *urb) | |||
695 | lbs_deb_usbd(&cardp->udev->dev,"**EVENT** 0x%X\n", | 695 | lbs_deb_usbd(&cardp->udev->dev,"**EVENT** 0x%X\n", |
696 | cardp->usb_event_cause); | 696 | cardp->usb_event_cause); |
697 | if (cardp->usb_event_cause & 0xffff0000) { | 697 | if (cardp->usb_event_cause & 0xffff0000) { |
698 | libertas_send_tx_feedback(priv); | 698 | lbs_send_tx_feedback(priv); |
699 | spin_unlock(&priv->adapter->driver_lock); | 699 | spin_unlock(&priv->adapter->driver_lock); |
700 | break; | 700 | break; |
701 | } | 701 | } |
702 | cardp->usb_event_cause <<= 3; | 702 | cardp->usb_event_cause <<= 3; |
703 | cardp->usb_int_cause |= MRVDRV_CARDEVENT; | 703 | cardp->usb_int_cause |= MRVDRV_CARDEVENT; |
704 | kfree_skb(skb); | 704 | kfree_skb(skb); |
705 | libertas_interrupt(priv->dev); | 705 | lbs_interrupt(priv->dev); |
706 | spin_unlock(&priv->adapter->driver_lock); | 706 | spin_unlock(&priv->adapter->driver_lock); |
707 | goto rx_exit; | 707 | goto rx_exit; |
708 | default: | 708 | default: |
@@ -720,13 +720,13 @@ rx_exit: | |||
720 | 720 | ||
721 | /** | 721 | /** |
722 | * @brief This function downloads data to FW | 722 | * @brief This function downloads data to FW |
723 | * @param priv pointer to wlan_private structure | 723 | * @param priv pointer to lbs_private structure |
724 | * @param type type of data | 724 | * @param type type of data |
725 | * @param buf pointer to data buffer | 725 | * @param buf pointer to data buffer |
726 | * @param len number of bytes | 726 | * @param len number of bytes |
727 | * @return 0 or -1 | 727 | * @return 0 or -1 |
728 | */ | 728 | */ |
729 | static int if_usb_host_to_card(wlan_private * priv, u8 type, u8 * payload, u16 nb) | 729 | static int if_usb_host_to_card(lbs_private *priv, u8 type, u8 *payload, u16 nb) |
730 | { | 730 | { |
731 | struct usb_card_rec *cardp = (struct usb_card_rec *)priv->card; | 731 | struct usb_card_rec *cardp = (struct usb_card_rec *)priv->card; |
732 | 732 | ||
@@ -753,7 +753,7 @@ static int if_usb_host_to_card(wlan_private * priv, u8 type, u8 * payload, u16 n | |||
753 | } | 753 | } |
754 | 754 | ||
755 | /* called with adapter->driver_lock held */ | 755 | /* called with adapter->driver_lock held */ |
756 | static int if_usb_get_int_status(wlan_private * priv, u8 * ireg) | 756 | static int if_usb_get_int_status(lbs_private *priv, u8 *ireg) |
757 | { | 757 | { |
758 | struct usb_card_rec *cardp = priv->card; | 758 | struct usb_card_rec *cardp = priv->card; |
759 | 759 | ||
@@ -765,7 +765,7 @@ static int if_usb_get_int_status(wlan_private * priv, u8 * ireg) | |||
765 | return 0; | 765 | return 0; |
766 | } | 766 | } |
767 | 767 | ||
768 | static int if_usb_read_event_cause(wlan_private * priv) | 768 | static int if_usb_read_event_cause(lbs_private * priv) |
769 | { | 769 | { |
770 | struct usb_card_rec *cardp = priv->card; | 770 | struct usb_card_rec *cardp = priv->card; |
771 | 771 | ||
@@ -856,10 +856,10 @@ static int if_usb_prog_firmware(struct usb_card_rec *cardp) | |||
856 | 856 | ||
857 | lbs_deb_enter(LBS_DEB_USB); | 857 | lbs_deb_enter(LBS_DEB_USB); |
858 | 858 | ||
859 | if ((ret = request_firmware(&cardp->fw, libertas_fw_name, | 859 | if ((ret = request_firmware(&cardp->fw, lbs_fw_name, |
860 | &cardp->udev->dev)) < 0) { | 860 | &cardp->udev->dev)) < 0) { |
861 | lbs_pr_err("request_firmware() failed with %#x\n", ret); | 861 | lbs_pr_err("request_firmware() failed with %#x\n", ret); |
862 | lbs_pr_err("firmware %s not found\n", libertas_fw_name); | 862 | lbs_pr_err("firmware %s not found\n", lbs_fw_name); |
863 | goto done; | 863 | goto done; |
864 | } | 864 | } |
865 | 865 | ||
@@ -940,7 +940,7 @@ done: | |||
940 | static int if_usb_suspend(struct usb_interface *intf, pm_message_t message) | 940 | static int if_usb_suspend(struct usb_interface *intf, pm_message_t message) |
941 | { | 941 | { |
942 | struct usb_card_rec *cardp = usb_get_intfdata(intf); | 942 | struct usb_card_rec *cardp = usb_get_intfdata(intf); |
943 | wlan_private *priv = cardp->priv; | 943 | lbs_private *priv = cardp->priv; |
944 | 944 | ||
945 | lbs_deb_enter(LBS_DEB_USB); | 945 | lbs_deb_enter(LBS_DEB_USB); |
946 | 946 | ||
@@ -954,7 +954,7 @@ static int if_usb_suspend(struct usb_interface *intf, pm_message_t message) | |||
954 | struct cmd_ds_mesh_access mesh_access; | 954 | struct cmd_ds_mesh_access mesh_access; |
955 | memset(&mesh_access, 0, sizeof(mesh_access)); | 955 | memset(&mesh_access, 0, sizeof(mesh_access)); |
956 | mesh_access.data[0] = cpu_to_le32(1); | 956 | mesh_access.data[0] = cpu_to_le32(1); |
957 | libertas_prepare_and_send_command(priv, | 957 | lbs_prepare_and_send_command(priv, |
958 | CMD_MESH_ACCESS, | 958 | CMD_MESH_ACCESS, |
959 | CMD_ACT_MESH_SET_AUTOSTART_ENABLED, | 959 | CMD_ACT_MESH_SET_AUTOSTART_ENABLED, |
960 | CMD_OPTION_WAITFORRSP, 0, (void *)&mesh_access); | 960 | CMD_OPTION_WAITFORRSP, 0, (void *)&mesh_access); |
@@ -976,7 +976,7 @@ static int if_usb_suspend(struct usb_interface *intf, pm_message_t message) | |||
976 | static int if_usb_resume(struct usb_interface *intf) | 976 | static int if_usb_resume(struct usb_interface *intf) |
977 | { | 977 | { |
978 | struct usb_card_rec *cardp = usb_get_intfdata(intf); | 978 | struct usb_card_rec *cardp = usb_get_intfdata(intf); |
979 | wlan_private *priv = cardp->priv; | 979 | lbs_private *priv = cardp->priv; |
980 | 980 | ||
981 | lbs_deb_enter(LBS_DEB_USB); | 981 | lbs_deb_enter(LBS_DEB_USB); |
982 | 982 | ||
@@ -994,7 +994,7 @@ static int if_usb_resume(struct usb_interface *intf) | |||
994 | struct cmd_ds_mesh_access mesh_access; | 994 | struct cmd_ds_mesh_access mesh_access; |
995 | memset(&mesh_access, 0, sizeof(mesh_access)); | 995 | memset(&mesh_access, 0, sizeof(mesh_access)); |
996 | mesh_access.data[0] = cpu_to_le32(0); | 996 | mesh_access.data[0] = cpu_to_le32(0); |
997 | libertas_prepare_and_send_command(priv, | 997 | lbs_prepare_and_send_command(priv, |
998 | CMD_MESH_ACCESS, | 998 | CMD_MESH_ACCESS, |
999 | CMD_ACT_MESH_SET_AUTOSTART_ENABLED, | 999 | CMD_ACT_MESH_SET_AUTOSTART_ENABLED, |
1000 | CMD_OPTION_WAITFORRSP, 0, (void *)&mesh_access); | 1000 | CMD_OPTION_WAITFORRSP, 0, (void *)&mesh_access); |
@@ -1027,8 +1027,8 @@ static int if_usb_init_module(void) | |||
1027 | 1027 | ||
1028 | lbs_deb_enter(LBS_DEB_MAIN); | 1028 | lbs_deb_enter(LBS_DEB_MAIN); |
1029 | 1029 | ||
1030 | if (libertas_fw_name == NULL) { | 1030 | if (lbs_fw_name == NULL) { |
1031 | libertas_fw_name = default_fw_name; | 1031 | lbs_fw_name = default_fw_name; |
1032 | } | 1032 | } |
1033 | 1033 | ||
1034 | ret = usb_register(&if_usb_driver); | 1034 | ret = usb_register(&if_usb_driver); |
@@ -1044,7 +1044,7 @@ static void if_usb_exit_module(void) | |||
1044 | lbs_deb_enter(LBS_DEB_MAIN); | 1044 | lbs_deb_enter(LBS_DEB_MAIN); |
1045 | 1045 | ||
1046 | list_for_each_entry_safe(cardp, cardp_temp, &usb_devices, list) { | 1046 | list_for_each_entry_safe(cardp, cardp_temp, &usb_devices, list) { |
1047 | libertas_prepare_and_send_command(cardp->priv, CMD_802_11_RESET, | 1047 | lbs_prepare_and_send_command(cardp->priv, CMD_802_11_RESET, |
1048 | CMD_ACT_HALT, 0, 0, NULL); | 1048 | CMD_ACT_HALT, 0, 0, NULL); |
1049 | } | 1049 | } |
1050 | 1050 | ||