OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344a702
)
brcmfmac: respect reason when deleting (deauthenticating) STA
author
Rafał Miłecki
<zajec5@gmail.com>
Sun, 8 Feb 2015 10:51:47 +0000
(11:51 +0100)
committer
Kalle Valo
<kvalo@codeaurora.org>
Mon, 2 Mar 2015 14:57:28 +0000
(16:57 +0200)
Starting with kernel 3.19 reason is provided by cfg80211.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
index
33245bb
..
a4d456c
100644
(file)
--- a/
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
+++ b/
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
@@
-4269,7
+4269,7
@@
brcmf_cfg80211_del_station(struct wiphy *wiphy, struct net_device *ndev,
return -EIO;
memcpy(&scbval.ea, params->mac, ETH_ALEN);
- scbval.val = cpu_to_le32(
WLAN_REASON_DEAUTH_LEAVING
);
+ scbval.val = cpu_to_le32(
params->reason_code
);
err = brcmf_fil_cmd_data_set(ifp, BRCMF_C_SCB_DEAUTHENTICATE_FOR_REASON,
&scbval, sizeof(scbval));
if (err)