File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1677,8 +1677,8 @@ void rtllib_sta_ps_send_pspoll_frame(struct rtllib_device *ieee);
16771677void rtllib_start_protocol (struct rtllib_device * ieee );
16781678void rtllib_stop_protocol (struct rtllib_device * ieee );
16791679
1680- void rtllib_EnableNetMonitorMode (struct net_device * dev , bool bInitState );
1681- void rtllib_DisableNetMonitorMode (struct net_device * dev , bool bInitState );
1680+ void rtllib_EnableNetMonitorMode (struct net_device * dev , bool init_state );
1681+ void rtllib_DisableNetMonitorMode (struct net_device * dev , bool init_state );
16821682
16831683void rtllib_softmac_stop_protocol (struct rtllib_device * ieee );
16841684void rtllib_softmac_start_protocol (struct rtllib_device * ieee );
Original file line number Diff line number Diff line change @@ -349,26 +349,26 @@ static inline struct sk_buff *rtllib_probe_req(struct rtllib_device *ieee)
349349
350350/* Enables network monitor mode, all rx packets will be received. */
351351void rtllib_EnableNetMonitorMode (struct net_device * dev ,
352- bool bInitState )
352+ bool init_state )
353353{
354354 struct rtllib_device * ieee = netdev_priv_rsl (dev );
355355
356356 netdev_info (dev , "========>Enter Monitor Mode\n" );
357357
358- ieee -> AllowAllDestAddrHandler (dev , true, !bInitState );
358+ ieee -> AllowAllDestAddrHandler (dev , true, !init_state );
359359}
360360
361361/* Disables network monitor mode. Only packets destinated to
362362 * us will be received.
363363 */
364364void rtllib_DisableNetMonitorMode (struct net_device * dev ,
365- bool bInitState )
365+ bool init_state )
366366{
367367 struct rtllib_device * ieee = netdev_priv_rsl (dev );
368368
369369 netdev_info (dev , "========>Exit Monitor Mode\n" );
370370
371- ieee -> AllowAllDestAddrHandler (dev , false, !bInitState );
371+ ieee -> AllowAllDestAddrHandler (dev , false, !init_state );
372372}
373373
374374static void rtllib_send_probe (struct rtllib_device * ieee )
You can’t perform that action at this time.
0 commit comments