mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Fix -Wmissing-prototypes in sch_beacon_gen
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in sch_beacon_gen. Change-Id: Ife6bd447ef9e352d76fe06ba7679aa95d1d74556 CRs-Fixed: 1075090
This commit is contained in:
parent
1628188271
commit
aeebe65c3d
1 changed files with 6 additions and 10 deletions
|
|
@ -53,15 +53,11 @@
|
|||
|
||||
#include "sch_debug.h"
|
||||
|
||||
/* */
|
||||
/* March 15, 2006 */
|
||||
/* Temporarily (maybe for all of Alpha-1), assuming TIM = 0 */
|
||||
/* */
|
||||
|
||||
const uint8_t p2p_oui[] = { 0x50, 0x6F, 0x9A, 0x9 };
|
||||
|
||||
tSirRetStatus sch_get_p2p_ie_offset(uint8_t *pExtraIe, uint32_t extraIeLen,
|
||||
uint16_t *pP2pIeOffset)
|
||||
static tSirRetStatus sch_get_p2p_ie_offset(uint8_t *pExtraIe,
|
||||
uint32_t extraIeLen,
|
||||
uint16_t *pP2pIeOffset)
|
||||
{
|
||||
tSirRetStatus status = eSIR_FAILURE;
|
||||
*pP2pIeOffset = 0;
|
||||
|
|
@ -99,7 +95,7 @@ tSirRetStatus sch_get_p2p_ie_offset(uint8_t *pExtraIe, uint32_t extraIeLen,
|
|||
*
|
||||
* Return: status of operation
|
||||
*/
|
||||
tSirRetStatus
|
||||
static tSirRetStatus
|
||||
sch_append_addn_ie(tpAniSirGlobal mac_ctx, tpPESession session,
|
||||
uint8_t *frm, uint32_t max_bcn_size, uint32_t *num_bytes,
|
||||
uint8_t *addn_ie, uint16_t addn_ielen)
|
||||
|
|
@ -799,8 +795,8 @@ void set_probe_rsp_ie_bitmap(uint32_t *IeBitmap, uint32_t pos)
|
|||
* @return None
|
||||
*/
|
||||
|
||||
void write_beacon_to_memory(tpAniSirGlobal pMac, uint16_t size, uint16_t length,
|
||||
tpPESession psessionEntry)
|
||||
static void write_beacon_to_memory(tpAniSirGlobal pMac, uint16_t size,
|
||||
uint16_t length, tpPESession psessionEntry)
|
||||
{
|
||||
uint16_t i;
|
||||
tpAniBeaconStruct pBeacon;
|
||||
|
|
|
|||
Loading…
Reference in a new issue