projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbdf1bd
)
staging: vt6656: mac80211 conversion: vRunCommand change beacon
author
Malcolm Priestley
<tvboxspy@gmail.com>
Wed, 25 Jun 2014 20:14:30 +0000
(21:14 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:21:20 +0000
(20:21 -0400)
Remove bMgrPrepareBeaconToSend
Check that vif is not null
Call vnt_beacon_make and turn on TCR_AUTOBCNTX.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/wcmd.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/wcmd.c
b/drivers/staging/vt6656/wcmd.c
index 85adc1cd33c16954814606ea99a526992757f849..3095689094fe1adb98fd45bfca322749791aa19e 100644
(file)
--- a/
drivers/staging/vt6656/wcmd.c
+++ b/
drivers/staging/vt6656/wcmd.c
@@
-843,7
+843,13
@@
void vRunCommand(struct work_struct *work)
break;
case WLAN_CMD_BECON_SEND_START:
- bMgrPrepareBeaconToSend(pDevice, pMgmt);
+ if (!pDevice->vif)
+ break;
+
+ vnt_beacon_make(pDevice, pDevice->vif);
+
+ vnt_mac_reg_bits_on(pDevice, MAC_REG_TCR, TCR_AUTOBCNTX);
+
break;
case WLAN_CMD_SETPOWER_START: