mirror of https://gitee.com/openkylin/linux.git
staging: vt6656: mac80211 conversion: vRunCommand change beacon
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>
This commit is contained in:
parent
bbdf1bd4d8
commit
f31a67ae11
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue