From: Serene Gud Date: Tue, 10 May 2011 05:46:39 +0530 (IST) Subject: [ath9k-devel] Error messgaes at boot up Message-ID: <949363.85738.qm@web137313.mail.in.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi all, The following are the changes that I have made to the kernel code: in net/mac80211/cfg.c: ??????? I removed the key word 'static' from the function ieee80211_set_channel in net/mac80211/ieee80211_i.h: ?????? I added the prototype for the function ieee80211_set_channel; /* start*/ int ieee80211_set_channel(struct wiphy *wiphy, ???????????????????????????????? struct net_device *netdev, ???????????????????????????????? struct ieee80211_channel *chan, ???????????????????????????????? enum nl80211_channel_type channel_type); /* end*/ in net/mac80211/main.c: ?????? Inside the? ieee80211_hw_config function; I made a call to the function in the following way: /* start*/ ?? ? ? ? ? struct ieee80211_sub_if_data *sdata=NULL; ??????? struct wiphy *wiphy; ??????? struct net_device *netdev; ??????? bool done; ??????? wiphy=local->hw.wiphy; ??????? netdev = alloc_netdev_mq(sizeof(*sdata) + local->hw.vif_data_size, ?????????????????????????????? "wlan%d", ether_setup, local->hw.queues); ??????? chan=local->oper_channel; ??????? channel_type=local->hw.conf.channel_type; ??????? done = ieee80211_set_channel(wiphy,netdev,chan,channel_type); ??????? if(!done) ??????????????? printk("successful call to set_channel!!!!!!!!!!!!!!!\n"); /* end */ When I do the 'make' there is no error. But when I reboot the system, it does not start and gives some errors that are difficult to understand... What am I doing wrong? Please suggest, Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110510/1611c001/attachment.htm