Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214685
b: refs/heads/master
c: 65a602d
h: refs/heads/master
i:
  214683: 0d12419
v: v3
  • Loading branch information
John W. Linville committed Sep 16, 2010
1 parent 3e23c47 commit d0fb4f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9bad82b8ae0e96483507e09463d8520bcfa78cc3
refs/heads/master: 65a602dd536ce45814a118322a393b956ea797fb
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/libertas/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ static int lbs_ret_scan(struct lbs_private *priv, unsigned long dummy,
struct cmd_ds_802_11_scan_rsp *scanresp = (void *)resp;
int bsssize;
const u8 *pos;
u16 nr_sets;
const u8 *tsfdesc;
int tsfsize;
int i;
Expand All @@ -488,12 +487,11 @@ static int lbs_ret_scan(struct lbs_private *priv, unsigned long dummy,
lbs_deb_enter(LBS_DEB_CFG80211);

bsssize = get_unaligned_le16(&scanresp->bssdescriptsize);
nr_sets = le16_to_cpu(scanresp->nr_sets);

lbs_deb_scan("scan response: %d BSSs (%d bytes); resp size %d bytes\n",
nr_sets, bsssize, le16_to_cpu(resp->size));
scanresp->nr_sets, bsssize, le16_to_cpu(resp->size));

if (nr_sets == 0) {
if (scanresp->nr_sets == 0) {
ret = 0;
goto done;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/libertas/mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ int lbs_mesh_bt_set_inverted(struct lbs_private *priv, bool inverted)
memset(&cmd, 0, sizeof(cmd));
cmd.hdr.size = cpu_to_le16(sizeof(cmd));
cmd.action = cpu_to_le16(CMD_ACT_BT_ACCESS_SET_INVERT);
cmd.id = !!inverted;
cmd.id = cpu_to_le32(!!inverted);

ret = lbs_cmd_with_response(priv, CMD_BT_ACCESS, &cmd);

Expand Down

0 comments on commit d0fb4f6

Please sign in to comment.