Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: chromeos/compat-wireless/drivers/net/wireless/wl12xx/wl1251_cmd.c

Issue 5326002: Update compat-wireless to 2.6.36-5-spn (Closed) Base URL: http://git.chromium.org/git/kernel.git@master
Patch Set: Fixes for !ACK handling, missing local changes, log message fixes Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #include "wl1251_cmd.h" 1 #include "wl1251_cmd.h"
2 2
3 #include <linux/module.h> 3 #include <linux/module.h>
4 #include <linux/slab.h> 4 #include <linux/slab.h>
5 #include <linux/crc7.h> 5 #include <linux/crc7.h>
6 6
7 #include "wl1251.h" 7 #include "wl1251.h"
8 #include "wl1251_reg.h" 8 #include "wl1251_reg.h"
9 #include "wl1251_io.h" 9 #include "wl1251_io.h"
10 #include "wl1251_ps.h" 10 #include "wl1251_ps.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 int ret; 477 int ret;
478 478
479 wl1251_debug(DEBUG_CMD, "cmd trigger scan to"); 479 wl1251_debug(DEBUG_CMD, "cmd trigger scan to");
480 480
481 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); 481 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
482 if (!cmd) 482 if (!cmd)
483 return -ENOMEM; 483 return -ENOMEM;
484 484
485 cmd->timeout = timeout; 485 cmd->timeout = timeout;
486 486
487 » ret = wl1251_cmd_send(wl, CMD_SCAN, cmd, sizeof(*cmd)); 487 » ret = wl1251_cmd_send(wl, CMD_TRIGGER_SCAN_TO, cmd, sizeof(*cmd));
488 if (ret < 0) { 488 if (ret < 0) {
489 wl1251_error("cmd trigger scan to failed: %d", ret); 489 wl1251_error("cmd trigger scan to failed: %d", ret);
490 goto out; 490 goto out;
491 } 491 }
492 492
493 out: 493 out:
494 kfree(cmd); 494 kfree(cmd);
495 return ret; 495 return ret;
496 } 496 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698