@@ -1270,14 +1270,15 @@ static void ieee80211_associate_step2(struct ieee80211_device *ieee)
1270
1270
static void ieee80211_associate_complete_wq (struct work_struct * work )
1271
1271
{
1272
1272
struct ieee80211_device * ieee = container_of (work , struct ieee80211_device , associate_complete_wq );
1273
- printk (KERN_INFO "Associated successfully\n" );
1273
+
1274
+ netdev_info (ieee -> dev , "Associated successfully\n" );
1274
1275
if (ieee80211_is_54g (& ieee -> current_network ) &&
1275
1276
(ieee -> modulation & IEEE80211_OFDM_MODULATION )) {
1276
1277
ieee -> rate = 108 ;
1277
- printk ( KERN_INFO "Using G rates:%d\n" , ieee -> rate );
1278
+ netdev_info ( ieee -> dev , "Using G rates:%d\n" , ieee -> rate );
1278
1279
} else {
1279
1280
ieee -> rate = 22 ;
1280
- printk ( KERN_INFO "Using B rates:%d\n" , ieee -> rate );
1281
+ netdev_info ( ieee -> dev , "Using B rates:%d\n" , ieee -> rate );
1281
1282
}
1282
1283
if (ieee -> pHTInfo -> bCurrentHTSupport && ieee -> pHTInfo -> bEnableHT ) {
1283
1284
printk ("Successfully associated, ht enabled\n" );
@@ -1391,12 +1392,13 @@ inline void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee
1391
1392
1392
1393
strncpy (ieee -> current_network .ssid , tmp_ssid , IW_ESSID_MAX_SIZE );
1393
1394
ieee -> current_network .ssid_len = tmp_ssid_len ;
1394
- printk (KERN_INFO "Linking with %s,channel:%d, qos:%d, myHT:%d, networkHT:%d\n" ,
1395
- ieee -> current_network .ssid ,
1396
- ieee -> current_network .channel ,
1397
- ieee -> current_network .qos_data .supported ,
1398
- ieee -> pHTInfo -> bEnableHT ,
1399
- ieee -> current_network .bssht .bdSupportHT );
1395
+ netdev_info (ieee -> dev ,
1396
+ "Linking with %s,channel:%d, qos:%d, myHT:%d, networkHT:%d\n" ,
1397
+ ieee -> current_network .ssid ,
1398
+ ieee -> current_network .channel ,
1399
+ ieee -> current_network .qos_data .supported ,
1400
+ ieee -> pHTInfo -> bEnableHT ,
1401
+ ieee -> current_network .bssht .bdSupportHT );
1400
1402
1401
1403
//ieee->pHTInfo->IOTAction = 0;
1402
1404
HTResetIOTSetting (ieee -> pHTInfo );
@@ -1421,11 +1423,13 @@ inline void ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee
1421
1423
(ieee -> modulation & IEEE80211_OFDM_MODULATION )) {
1422
1424
ieee -> rate = 108 ;
1423
1425
ieee -> SetWirelessMode (ieee -> dev , IEEE_G );
1424
- printk (KERN_INFO "Using G rates\n" );
1426
+ netdev_info (ieee -> dev ,
1427
+ "Using G rates\n" );
1425
1428
} else {
1426
1429
ieee -> rate = 22 ;
1427
1430
ieee -> SetWirelessMode (ieee -> dev , IEEE_B );
1428
- printk (KERN_INFO "Using B rates\n" );
1431
+ netdev_info (ieee -> dev ,
1432
+ "Using B rates\n" );
1429
1433
}
1430
1434
memset (ieee -> dot11HTOperationalRateSet , 0 , 16 );
1431
1435
//HTSetConnectBwMode(ieee, HT_CHANNEL_WIDTH_20, HT_EXTCHNL_OFFSET_NO_EXT);
@@ -1622,7 +1626,7 @@ ieee80211_rx_assoc_rq(struct ieee80211_device *ieee, struct sk_buff *skb)
1622
1626
if (assoc_rq_parse (skb , dest ) != -1 )
1623
1627
ieee80211_resp_to_assoc_rq (ieee , dest );
1624
1628
1625
- printk ( KERN_INFO "New client associated: %pM\n" , dest );
1629
+ netdev_info ( ieee -> dev , "New client associated: %pM\n" , dest );
1626
1630
//FIXME
1627
1631
}
1628
1632
0 commit comments