]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename u8ScanType in wilc_scan
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 5 Jan 2016 14:06:47 +0000 (23:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:14:39 +0000 (15:14 -0800)
This patch renames u8ScanType to scan_type to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index ac00b17c6d3b209f279a433c3db38489353e1c02..6d96323f8589aa653db6bb839d3108b158c6a063 100644 (file)
@@ -3672,7 +3672,7 @@ int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats)
        return result;
 }
 
-int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 u8ScanType,
+int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
              u8 *pu8ChnlFreqList, u8 u8ChnlListLen, const u8 *pu8IEs,
              size_t IEsLen, wilc_scan_result ScanResult, void *pvUserArg,
              struct hidden_network *pstrHiddenNetwork)
@@ -3699,7 +3699,7 @@ int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 u8ScanType,
 
        msg.vif = vif;
        msg.body.scan_info.src = scan_source;
-       msg.body.scan_info.type = u8ScanType;
+       msg.body.scan_info.type = scan_type;
        msg.body.scan_info.result = ScanResult;
        msg.body.scan_info.arg = pvUserArg;
 
index 6ef594be0107c3ceed21413e632690ea2337c4d8..0d7ed5549272db5323d1de423eace9f20300e238 100644 (file)
@@ -335,7 +335,7 @@ int wilc_flush_join_req(struct wilc_vif *vif);
 int wilc_disconnect(struct wilc_vif *vif, u16 reason_code);
 int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel);
 int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level);
-int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 u8ScanType,
+int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type,
              u8 *pu8ChnlFreqList, u8 u8ChnlListLen, const u8 *pu8IEs,
              size_t IEsLen, wilc_scan_result ScanResult, void *pvUserArg,
              struct hidden_network *pstrHiddenNetwork);