Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266557
b: refs/heads/master
c: 4dea08e
h: refs/heads/master
i:
  266555: 9321cd2
v: v3
  • Loading branch information
Jouni Malinen authored and Kalle Valo committed Aug 31, 2011
1 parent 4723c2c commit 19b8423
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a6c8060c0b166ce5ce4a3563b511b1f641dbea8
refs/heads/master: 4dea08e07e2103f183bf3a316c80e80950412ca5
10 changes: 10 additions & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ void ath6kl_target_failure(struct ath6kl *ar)
static int ath6kl_target_config_wlan_params(struct ath6kl *ar)
{
int status = 0;
int ret;

/*
* Configure the device for rx dot11 header rules. "0,0" are the
Expand Down Expand Up @@ -461,6 +462,15 @@ static int ath6kl_target_config_wlan_params(struct ath6kl *ar)
status = -EIO;
}

ret = ath6kl_wmi_info_req_cmd(ar->wmi, P2P_FLAG_CAPABILITIES_REQ |
P2P_FLAG_MACADDR_REQ |
P2P_FLAG_HMODEL_REQ);
if (ret) {
ath6kl_dbg(ATH6KL_DBG_TRC, "failed to request P2P "
"capabilities (%d) - assuming P2P not supported\n",
ret);
}

return status;
}

Expand Down

0 comments on commit 19b8423

Please sign in to comment.